Merge PR #511 into 12.0

Signed-off-by alexey-pelykh
This commit is contained in:
OCA-git-bot
2022-10-17 11:57:38 +00:00

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