From 507079741cec516cd981ea57a6980102a97cd928 Mon Sep 17 00:00:00 2001 From: Maxime Richez Date: Mon, 15 Apr 2024 16:20:31 +0200 Subject: [PATCH] Decorate pack button of customer shipment when extending it for shipping Closes #13131 --- modules/stock_package_shipping/stock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/stock_package_shipping/stock.py b/modules/stock_package_shipping/stock.py index 39cb4b7f97..54076ce663 100644 --- a/modules/stock_package_shipping/stock.py +++ b/modules/stock_package_shipping/stock.py @@ -254,6 +254,7 @@ class ShipmentOut(ShippingMixin, metaclass=PoolMeta): __name__ = 'stock.shipment.out' @classmethod + @ModelView.button @Workflow.transition('packed') def pack(cls, shipments): super().pack(shipments)