[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, transaction_id,
) )
if note and notes: if note and notes:
note = '%s\n%s' % ( note = "{}\n{}".format(notes, note.strip())
note,
note.strip(),
)
elif note: elif note:
note = note.strip() note = note.strip()
elif notes:
note = notes
if note: if note:
transaction['note'] = note transaction['note'] = note