diff --git a/account_ebics/models/ebics_file.py b/account_ebics/models/ebics_file.py index 378d23d..ea3e4e8 100644 --- a/account_ebics/models/ebics_file.py +++ b/account_ebics/models/ebics_file.py @@ -273,7 +273,6 @@ class EbicsFile(models.Model): 'details': details, }]) continue - import pdb; pdb.set_trace() result['context']['statement_line_ids'].extend( ctx['statement_line_ids']) result['context']['notifications'].extend( @@ -356,7 +355,6 @@ class EbicsFile(models.Model): wiz = self.env[wiz_model].with_context(wiz_ctx).create(wiz_vals) res = wiz.import_file_button() ctx = res.get('context') - import pdb; pdb.set_trace() if (res.get('res_model') == 'account.bank.statement.import.journal.creation'): message = _( diff --git a/account_ebics_oca_statement_import/wizards/account_statement_import.py b/account_ebics_oca_statement_import/wizards/account_statement_import.py index 0527c8c..235c796 100644 --- a/account_ebics_oca_statement_import/wizards/account_statement_import.py +++ b/account_ebics_oca_statement_import/wizards/account_statement_import.py @@ -51,7 +51,7 @@ class AccountStatementImport(models.TransientModel): break if not transactions: message = _('This file doesn\'t contain any transaction.') - statement_ids = [] + st_line_ids = [] notifications = { 'type': 'warning', 'message': message,