remove pdb

This commit is contained in:
Luc De Meyer 2021-04-11 17:30:00 +02:00
parent 8de09fb8c1
commit 364d8d256d
2 changed files with 1 additions and 3 deletions

View File

@ -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 = _(

View File

@ -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,