Browse Source

Merge PR #511 into 12.0

Signed-off-by alexey-pelykh
12.0
OCA-git-bot 2 years ago
parent
commit
1eb01a65ad
  1. 7
      account_bank_statement_import_txt_xlsx/models/account_bank_statement_import_sheet_parser.py

7
account_bank_statement_import_txt_xlsx/models/account_bank_statement_import_sheet_parser.py

@ -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,
note.strip(),
)
note = "{}\n{}".format(notes, 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

Loading…
Cancel
Save