mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-27 14:37:25 +00:00
[16.0]account_statement_import - fix super()
This commit is contained in:
parent
77d72f660a
commit
3f32d8a285
@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"name": "account_ebics with OCA Bank Statement Imoort",
|
"name": "account_ebics with OCA Bank Statement Imoort",
|
||||||
"summary": "Use OCA Bank Statement Import with account_ebics",
|
"summary": "Use OCA Bank Statement Import with account_ebics",
|
||||||
"version": "16.0.1.0.1",
|
"version": "16.0.1.0.2",
|
||||||
"author": "Noviat",
|
"author": "Noviat",
|
||||||
"website": "https://www.noviat.com/",
|
"website": "https://www.noviat.com/",
|
||||||
"category": "Hidden",
|
"category": "Hidden",
|
||||||
|
@ -46,7 +46,9 @@ class AccountStatementImport(models.TransientModel):
|
|||||||
We could also create empty bank statement (in state done) to clearly
|
We could also create empty bank statement (in state done) to clearly
|
||||||
show days without transactions via the bank statement list view.
|
show days without transactions via the bank statement list view.
|
||||||
"""
|
"""
|
||||||
if self.env.context.get("active_model") == "ebics.file":
|
if self.env.context.get("active_model") != "ebics.file":
|
||||||
|
return super()._create_bank_statements(stmts_vals, result)
|
||||||
|
else:
|
||||||
messages = []
|
messages = []
|
||||||
transactions = False
|
transactions = False
|
||||||
for st_vals in stmts_vals:
|
for st_vals in stmts_vals:
|
||||||
|
Loading…
Reference in New Issue
Block a user