From ae71913833f73b63e440f073158dc68bee62c23c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 5 Jun 2025 16:43:10 +0200 Subject: [PATCH] Add transition from packed to cancelled for internal shipment Since fee9e4e8c864 the internal shipment has a new packed state that can be cancelled. Closes #14053 --- modules/stock/shipment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/stock/shipment.py b/modules/stock/shipment.py index 3ebd9b0082..34562f4c96 100644 --- a/modules/stock/shipment.py +++ b/modules/stock/shipment.py @@ -2434,6 +2434,7 @@ class ShipmentInternal( ('draft', 'cancelled'), ('waiting', 'cancelled'), ('assigned', 'cancelled'), + ('packed', 'cancelled'), ('cancelled', 'draft'), ('done', 'cancelled'), ))