[FIX] account_bank_statement_import_txt_xlsx: import sheet notes

This commit is contained in:
NuriaMForgeFlow
2021-08-11 16:13:55 +02:00
committed by Héctor Villarreal Ortega
parent 7bac2421df
commit f9b8327134

View File

@@ -311,12 +311,11 @@ class AccountBankStatementImportSheetParser(models.TransientModel):
transaction_id,
)
if note and notes:
note = '%s\n%s' % (
note,
note.strip(),
)
note = "{}\n{}".format(notes, note.strip())
elif note:
note = note.strip()
elif notes:
note = notes
if note:
transaction['note'] = note