mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 12:42:04 +00:00
fix oca statement import
This commit is contained in:
parent
d71ce43eef
commit
e12d4564fc
@ -53,7 +53,7 @@ class AccountStatementImport(models.TransientModel):
|
|||||||
self._set_statement_name(st_vals)
|
self._set_statement_name(st_vals)
|
||||||
if st_vals.get("transactions"):
|
if st_vals.get("transactions"):
|
||||||
transactions = True
|
transactions = True
|
||||||
super()._create_bank_statements(stmts_vals, result)
|
super()._create_bank_statements([st_vals], result)
|
||||||
if result["statement_ids"] == statement_ids:
|
if result["statement_ids"] == statement_ids:
|
||||||
# no statement has been created, this is the case
|
# no statement has been created, this is the case
|
||||||
# when all transactions have been imported already
|
# when all transactions have been imported already
|
||||||
|
Loading…
Reference in New Issue
Block a user