mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-22 20:22:03 +00:00
remove pdb
This commit is contained in:
parent
8de09fb8c1
commit
364d8d256d
@ -273,7 +273,6 @@ class EbicsFile(models.Model):
|
|||||||
'details': details,
|
'details': details,
|
||||||
}])
|
}])
|
||||||
continue
|
continue
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
result['context']['statement_line_ids'].extend(
|
result['context']['statement_line_ids'].extend(
|
||||||
ctx['statement_line_ids'])
|
ctx['statement_line_ids'])
|
||||||
result['context']['notifications'].extend(
|
result['context']['notifications'].extend(
|
||||||
@ -356,7 +355,6 @@ class EbicsFile(models.Model):
|
|||||||
wiz = self.env[wiz_model].with_context(wiz_ctx).create(wiz_vals)
|
wiz = self.env[wiz_model].with_context(wiz_ctx).create(wiz_vals)
|
||||||
res = wiz.import_file_button()
|
res = wiz.import_file_button()
|
||||||
ctx = res.get('context')
|
ctx = res.get('context')
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
if (res.get('res_model')
|
if (res.get('res_model')
|
||||||
== 'account.bank.statement.import.journal.creation'):
|
== 'account.bank.statement.import.journal.creation'):
|
||||||
message = _(
|
message = _(
|
||||||
|
@ -51,7 +51,7 @@ class AccountStatementImport(models.TransientModel):
|
|||||||
break
|
break
|
||||||
if not transactions:
|
if not transactions:
|
||||||
message = _('This file doesn\'t contain any transaction.')
|
message = _('This file doesn\'t contain any transaction.')
|
||||||
statement_ids = []
|
st_line_ids = []
|
||||||
notifications = {
|
notifications = {
|
||||||
'type': 'warning',
|
'type': 'warning',
|
||||||
'message': message,
|
'message': message,
|
||||||
|
Loading…
Reference in New Issue
Block a user