From 0513c2e336dd3edd815e912600331c9549ec6255 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 15 Jan 2026 19:04:01 +0100 Subject: [PATCH 1/5] [FIX] fix stack trace admin order --- account_ebics/wizards/ebics_admin_order.py | 25 ++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/account_ebics/wizards/ebics_admin_order.py b/account_ebics/wizards/ebics_admin_order.py index 5f32687..eaed700 100644 --- a/account_ebics/wizards/ebics_admin_order.py +++ b/account_ebics/wizards/ebics_admin_order.py @@ -1,10 +1,18 @@ -# Copyright 2009-2024 Noviat. +# Copyright 2024 Noviat. # License LGPL-3 or later (https://www.gnu.org/licenses/lgpl). +import logging import pprint from odoo import api, fields, models +_logger = logging.getLogger(__name__) + +try: + from fintech.ebics import EbicsTechnicalError +except ImportError: + _logger.warning("Failed to import fintech") + class EbicsAdminOrder(models.TransientModel): _inherit = "ebics.xfer" @@ -34,9 +42,18 @@ class EbicsAdminOrder(models.TransientModel): % self.ebics_config_id.name ) else: - data = getattr(client, self.admin_order_type)(parsed=True) - pp = pprint.PrettyPrinter() - self.note = pp.pformat(data) + try: + data = getattr(client, self.admin_order_type)(parsed=True) + pp = pprint.PrettyPrinter() + self.note = pp.pformat(data) + except EbicsTechnicalError as e: + self.note = "\n" + self.note += self.env._( + "EBICS Technical Error during execution of order %(order_type)s:", + order_type=self.admin_order_type, + ) + self.note += "\n" + self.note += f"{e.message} (code: {e.code})" module = __name__.split("addons.")[1].split(".")[0] result_view = self.env.ref(f"{module}.ebics_admin_order_view_form_result") return { From 3466fa1a9fb24edf53edf98479646ab374686e79 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 15 Jan 2026 19:07:44 +0100 Subject: [PATCH 2/5] [IMP] account_ebics: bump module version --- README.md | 2 +- account_ebics/__manifest__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72afcb8..25bb777 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Available addons ---------------- addon | version | maintainers | summary --- | --- | --- | --- -[account_ebics](account_ebics/) | 18.0.1.1.1 | | EBICS banking protocol +[account_ebics](account_ebics/) | 18.0.1.1.2 | | EBICS banking protocol [account_ebics_batch](account_ebics_batch/) | 18.0.1.0.0 | | EBICS Files automated import and processing [account_ebics_batch_payment](account_ebics_batch_payment/) | 18.0.1.0.0 | | Upload Batch Payment via EBICS [account_ebics_oca_statement_import](account_ebics_oca_statement_import/) | 18.0.1.0.0 | | Use OCA Bank Statement Import with account_ebics diff --git a/account_ebics/__manifest__.py b/account_ebics/__manifest__.py index 1f47786..e436404 100644 --- a/account_ebics/__manifest__.py +++ b/account_ebics/__manifest__.py @@ -3,7 +3,7 @@ { "name": "EBICS banking protocol", - "version": "18.0.1.1.1", + "version": "18.0.1.1.2", "license": "LGPL-3", "author": "Noviat", "website": "https://www.noviat.com/", From 09ce2a147010a214f876cc19218c700db3575b1b Mon Sep 17 00:00:00 2001 From: oca-ci Date: Thu, 15 Jan 2026 18:15:29 +0000 Subject: [PATCH 3/5] [UPD] Update account_ebics.pot --- account_ebics/i18n/account_ebics.pot | 6 ++++++ account_ebics/i18n/fr.po | 18 ++++++++++++------ account_ebics/i18n/nl.po | 18 ++++++++++++------ 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/account_ebics/i18n/account_ebics.pot b/account_ebics/i18n/account_ebics.pot index 77486fb..592c97b 100644 --- a/account_ebics/i18n/account_ebics.pot +++ b/account_ebics/i18n/account_ebics.pot @@ -660,6 +660,12 @@ msgid "" "(%(order_type)s):" msgstr "" +#. module: account_ebics +#. odoo-python +#: code:addons/account_ebics/wizards/ebics_admin_order.py:0 +msgid "EBICS Technical Error during execution of order %(order_type)s:" +msgstr "" + #. module: account_ebics #. odoo-python #: code:addons/account_ebics/models/ebics_userid.py:0 diff --git a/account_ebics/i18n/fr.po b/account_ebics/i18n/fr.po index 464e63c..0009dd6 100644 --- a/account_ebics/i18n/fr.po +++ b/account_ebics/i18n/fr.po @@ -531,8 +531,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Functional Error during download of File Format %(name)s (%" -"(order_type)s):" +"EBICS Functional Error during download of File Format %(name)s " +"(%(order_type)s):" msgstr "" #. module: account_ebics @@ -671,8 +671,14 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Technical Error during download of File Format %(name)s (%" -"(order_type)s):" +"EBICS Technical Error during download of File Format %(name)s " +"(%(order_type)s):" +msgstr "" + +#. module: account_ebics +#. odoo-python +#: code:addons/account_ebics/wizards/ebics_admin_order.py:0 +msgid "EBICS Technical Error during execution of order %(order_type)s:" msgstr "" #. module: account_ebics @@ -718,8 +724,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Verification Error during download of File Format %(name)s (%" -"(order_type)s):" +"EBICS Verification Error during download of File Format %(name)s " +"(%(order_type)s):" msgstr "" #. module: account_ebics diff --git a/account_ebics/i18n/nl.po b/account_ebics/i18n/nl.po index e3917ca..adf85c7 100644 --- a/account_ebics/i18n/nl.po +++ b/account_ebics/i18n/nl.po @@ -531,8 +531,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Functional Error during download of File Format %(name)s (%" -"(order_type)s):" +"EBICS Functional Error during download of File Format %(name)s " +"(%(order_type)s):" msgstr "" #. module: account_ebics @@ -671,8 +671,14 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Technical Error during download of File Format %(name)s (%" -"(order_type)s):" +"EBICS Technical Error during download of File Format %(name)s " +"(%(order_type)s):" +msgstr "" + +#. module: account_ebics +#. odoo-python +#: code:addons/account_ebics/wizards/ebics_admin_order.py:0 +msgid "EBICS Technical Error during execution of order %(order_type)s:" msgstr "" #. module: account_ebics @@ -718,8 +724,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Verification Error during download of File Format %(name)s (%" -"(order_type)s):" +"EBICS Verification Error during download of File Format %(name)s " +"(%(order_type)s):" msgstr "" #. module: account_ebics From 85c66b008349c8a04dcc33801d7a9ba5785c8dd6 Mon Sep 17 00:00:00 2001 From: Weblate Date: Thu, 15 Jan 2026 18:15:39 +0000 Subject: [PATCH 4/5] Update translation files Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate. Co-authored-by: Weblate Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v18/account_ebics/ Translation: Noviat Generic - Account EBICS - v18/account_ebics --- account_ebics/i18n/fr.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/account_ebics/i18n/fr.po b/account_ebics/i18n/fr.po index 0009dd6..3643f54 100644 --- a/account_ebics/i18n/fr.po +++ b/account_ebics/i18n/fr.po @@ -531,8 +531,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Functional Error during download of File Format %(name)s " -"(%(order_type)s):" +"EBICS Functional Error during download of File Format %(name)s (%" +"(order_type)s):" msgstr "" #. module: account_ebics @@ -671,8 +671,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Technical Error during download of File Format %(name)s " -"(%(order_type)s):" +"EBICS Technical Error during download of File Format %(name)s (%" +"(order_type)s):" msgstr "" #. module: account_ebics @@ -724,8 +724,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Verification Error during download of File Format %(name)s " -"(%(order_type)s):" +"EBICS Verification Error during download of File Format %(name)s (%" +"(order_type)s):" msgstr "" #. module: account_ebics From caf4dcd11050f36f7de58b2dd6fc7d68abd6c54f Mon Sep 17 00:00:00 2001 From: Weblate Date: Thu, 15 Jan 2026 18:15:39 +0000 Subject: [PATCH 5/5] Update translation files Updated by "Update PO files to match POT (msgmerge)" add-on in Weblate. Co-authored-by: Weblate Translate-URL: https://translation.noviat.io/projects/noviat-generic-account-ebics-v18/account_ebics/ Translation: Noviat Generic - Account EBICS - v18/account_ebics --- account_ebics/i18n/nl.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/account_ebics/i18n/nl.po b/account_ebics/i18n/nl.po index adf85c7..270f7b5 100644 --- a/account_ebics/i18n/nl.po +++ b/account_ebics/i18n/nl.po @@ -531,8 +531,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Functional Error during download of File Format %(name)s " -"(%(order_type)s):" +"EBICS Functional Error during download of File Format %(name)s (%" +"(order_type)s):" msgstr "" #. module: account_ebics @@ -671,8 +671,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Technical Error during download of File Format %(name)s " -"(%(order_type)s):" +"EBICS Technical Error during download of File Format %(name)s (%" +"(order_type)s):" msgstr "" #. module: account_ebics @@ -724,8 +724,8 @@ msgstr "" #. odoo-python #: code:addons/account_ebics/wizards/ebics_xfer.py:0 msgid "" -"EBICS Verification Error during download of File Format %(name)s " -"(%(order_type)s):" +"EBICS Verification Error during download of File Format %(name)s (%" +"(order_type)s):" msgstr "" #. module: account_ebics