From e12d4564fcc0953ed8a57eecce8caef05687f994 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sat, 5 Aug 2023 17:50:59 +0200 Subject: [PATCH] fix oca statement import --- .../wizards/account_statement_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_ebics_oca_statement_import/wizards/account_statement_import.py b/account_ebics_oca_statement_import/wizards/account_statement_import.py index 9615723..09dcded 100644 --- a/account_ebics_oca_statement_import/wizards/account_statement_import.py +++ b/account_ebics_oca_statement_import/wizards/account_statement_import.py @@ -53,7 +53,7 @@ class AccountStatementImport(models.TransientModel): self._set_statement_name(st_vals) if st_vals.get("transactions"): transactions = True - super()._create_bank_statements(stmts_vals, result) + super()._create_bank_statements([st_vals], result) if result["statement_ids"] == statement_ids: # no statement has been created, this is the case # when all transactions have been imported already