From 5deba59858e835192a65d3a8565970e9c4bade06 Mon Sep 17 00:00:00 2001 From: NuriaMForgeFlow Date: Wed, 11 Aug 2021 16:13:55 +0200 Subject: [PATCH] [13.0][FIX] account_bank_statement_import_txt_xlsx --- .../models/account_bank_statement_import_sheet_parser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_bank_statement_import_txt_xlsx/models/account_bank_statement_import_sheet_parser.py b/account_bank_statement_import_txt_xlsx/models/account_bank_statement_import_sheet_parser.py index 58766adc..c26300b4 100644 --- a/account_bank_statement_import_txt_xlsx/models/account_bank_statement_import_sheet_parser.py +++ b/account_bank_statement_import_txt_xlsx/models/account_bank_statement_import_sheet_parser.py @@ -350,9 +350,11 @@ class AccountBankStatementImportSheetParser(models.TransientModel): if transaction_id: note += _("Transaction ID: %s; ") % (transaction_id,) if note and notes: - note = "{}\n{}".format(note, note.strip()) + note = "{}\n{}".format(notes, note.strip()) elif note: note = note.strip() + elif notes: + note = notes if note: transaction["note"] = note