mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] account_bank_statement_import_txt_xlsx: import sheet notes
This commit is contained in:
committed by
Héctor Villarreal Ortega
parent
7bac2421df
commit
f9b8327134
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user