details:   https://code.tryton.org/tryton/commit/92520f17772f
branch:    7.8
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
        (grafted from 1bf63531e7bd8981bd5b3544376786829c332d06)
diffstat:

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

diffs (12 lines):

diff -r c6eadda2eba3 -r 92520f17772f modules/edocument_peppol/account.py
--- a/modules/edocument_peppol/account.py       Mon Jan 05 00:38:37 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