diff --git a/account_statement_import_txt_xlsx/models/account_statement_import_sheet_parser.py b/account_statement_import_txt_xlsx/models/account_statement_import_sheet_parser.py index 460bfe56..4255e000 100644 --- a/account_statement_import_txt_xlsx/models/account_statement_import_sheet_parser.py +++ b/account_statement_import_txt_xlsx/models/account_statement_import_sheet_parser.py @@ -359,9 +359,11 @@ class AccountStatementImportSheetParser(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["narration"] = note