mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
fix 'savepoint does not exist' stack trace
This commit is contained in:
parent
4e6978c18b
commit
dc6a0c9aa6
@ -126,7 +126,6 @@ class EbicsBatchLog(models.Model):
|
|||||||
import_dict["errors"].append(err_msg + tb)
|
import_dict["errors"].append(err_msg + tb)
|
||||||
log.file_ids = [(6, 0, ebics_file_ids)]
|
log.file_ids = [(6, 0, ebics_file_ids)]
|
||||||
try:
|
try:
|
||||||
with self.env.cr.savepoint():
|
|
||||||
log._ebics_process(import_dict)
|
log._ebics_process(import_dict)
|
||||||
except UserError as e:
|
except UserError as e:
|
||||||
import_dict["errors"].append(err_msg + " ".join(e.args))
|
import_dict["errors"].append(err_msg + " ".join(e.args))
|
||||||
|
Loading…
Reference in New Issue
Block a user