fix ebics.file download handler

This commit is contained in:
Luc De Meyer
2020-07-15 20:48:15 +02:00
parent f16e81f0a4
commit 5565717998
2 changed files with 37 additions and 47 deletions

View File

@@ -51,12 +51,12 @@ class AccountBankStatementImport(models.TransientModel):
break
if not transactions:
message = _('This file doesn\'t contain any transaction.')
statement_ids = []
st_line_ids = []
notifications = {
'type': 'warning',
'message': message,
'details': ''
}
return statement_ids, [notifications]
return st_line_ids, [notifications]
return super()._create_bank_statements(stmts_vals)