details:   https://code.tryton.org/tryton/commit/1bf63531e7bd
branch:    default
user:      Cédric Krier <[email protected]>
date:      Wed Jan 07 09:16:02 2026 +0100
description:
        Add missing warning key for PEPPOL required warning

        Closes #14471
diffstat:

 modules/edocument_peppol/account.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r aa44f5985cd7 -r 1bf63531e7bd modules/edocument_peppol/account.py
--- a/modules/edocument_peppol/account.py       Mon Jan 05 00:41:31 2026 +0100
+++ b/modules/edocument_peppol/account.py       Wed Jan 07 09:16:02 2026 +0100
@@ -57,7 +57,7 @@
                     'invoice_peppol_required', [
                         invoice.party, invoice.company])
                 if Warning.check(warning_key):
-                    raise InvoicePeppolRequired(gettext(
+                    raise InvoicePeppolRequired(warning_key, gettext(
                             'edocument_peppol'
                             '.msg_invoice_party_peppol_required',
                             party=invoice.party.rec_name,

Reply via email to