diff --git a/account_statement_import_file/wizard/account_statement_import.py b/account_statement_import_file/wizard/account_statement_import.py index ec877b3cd..c18693ce9 100644 --- a/account_statement_import_file/wizard/account_statement_import.py +++ b/account_statement_import_file/wizard/account_statement_import.py @@ -289,6 +289,7 @@ def _match_journal(self, account_number, currency): def _complete_stmts_vals(self, stmts_vals, journal, account_number): speeddict = journal._statement_line_import_speeddict() for st_vals in stmts_vals: + st_vals["journal_id"] = journal.id for lvals in st_vals["transactions"]: lvals["journal_id"] = journal.id journal._statement_line_import_update_unique_import_id(