From dc6a0c9aa6255e20c8051875ef53681012019cbb Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sun, 30 Jul 2023 22:01:31 +0200 Subject: [PATCH] fix 'savepoint does not exist' stack trace --- account_ebics_batch/models/ebics_batch_log.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/account_ebics_batch/models/ebics_batch_log.py b/account_ebics_batch/models/ebics_batch_log.py index 82a6970..2de7cda 100644 --- a/account_ebics_batch/models/ebics_batch_log.py +++ b/account_ebics_batch/models/ebics_batch_log.py @@ -126,8 +126,7 @@ class EbicsBatchLog(models.Model): import_dict["errors"].append(err_msg + tb) log.file_ids = [(6, 0, ebics_file_ids)] try: - with self.env.cr.savepoint(): - log._ebics_process(import_dict) + log._ebics_process(import_dict) except UserError as e: import_dict["errors"].append(err_msg + " ".join(e.args)) except Exception: