mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
have one list of notifications
[IMP] use a nice formatting to show notifications for imported file
This commit is contained in:
committed by
Alexis de Lattre
parent
2f29b23ced
commit
c09a95ce20
@@ -46,5 +46,7 @@ class AccountBankStatementImport(models.TransientModel):
|
||||
'res_id': statement_id,
|
||||
'type': 'binary',
|
||||
'datas': base64.b64encode(data_file),
|
||||
'description': notifications,
|
||||
'description': '\n'.join(
|
||||
'%(type)s: %(message)' % notification
|
||||
for notification in notifications) or False,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user