From 0cc861126aa57bf143c6418ce10649e6b8f9390a Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Wed, 25 Mar 2026 11:55:20 +0100 Subject: [PATCH] [FIX] ebics download: execute always client.confirm_download() Certain banks expect always a confirm_download, also in case of success=False. --- account_ebics/wizards/ebics_xfer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_ebics/wizards/ebics_xfer.py b/account_ebics/wizards/ebics_xfer.py index 7c52e97..ee9a461 100644 --- a/account_ebics/wizards/ebics_xfer.py +++ b/account_ebics/wizards/ebics_xfer.py @@ -236,8 +236,8 @@ class EbicsXfer(models.TransientModel): date_from = self.date_from and self.date_from.isoformat() or None date_to = self.date_to and self.date_to.isoformat() or None for df in download_formats: + success = False try: - success = False if df.order_type == "BTD": btf = BusinessTransactionFormat( df.btf_service, @@ -321,7 +321,7 @@ class EbicsXfer(models.TransientModel): ) tb = "".join(format_exception(*exc_info())) self.note += f"\n{tb}" - else: + finally: # mark received data so that it is not included in further # downloads trans_id = client.last_trans_id