details:   https://code.tryton.org/tryton/commit/8cb604ba8e1b
branch:    7.6
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 bb2696c01f57 -r 8cb604ba8e1b 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
@@ -313,6 +313,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