details:   https://code.tryton.org/tryton/commit/043aa7d8d8ef
branch:    7.8
user:      Maxime Richez <[email protected]>
date:      Mon Feb 02 13:53:44 2026 +0100
description:
        Add missing warning key for PackWarning on Internal Shipment

        Closes #14569
        (grafted from 0a232c92e27f5cb11edaf7ff4c1ff38deb459ad8)
diffstat:

 modules/stock_package_shipping/stock.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r a1af49a7f770 -r 043aa7d8d8ef modules/stock_package_shipping/stock.py
--- a/modules/stock_package_shipping/stock.py   Mon Jan 19 12:30:41 2026 +0100
+++ b/modules/stock_package_shipping/stock.py   Mon Feb 02 13:53:44 2026 +0100
@@ -350,6 +350,7 @@
                 name = Warning.format('no_carrier', [shipment])
                 if Warning.check(name):
                     raise PackWarning(
+                        name,
                         gettext('stock_package_shipping'
                             '.msg_shipment_without_carrier',
                             shipment=shipment.rec_name))

Reply via email to