Browse Source

have one list of notifications

[IMP] use a nice formatting to show notifications for imported file
pull/100/head
Holger Brunn 9 years ago
committed by Mourad Elhadj Mimoune
parent
commit
7b053ecb2c
  1. 4
      account_bank_statement_import_save_file/models/account_bank_statement_import.py

4
account_bank_statement_import_save_file/models/account_bank_statement_import.py

@ -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,
}
Loading…
Cancel
Save