Decorate pack button of customer shipment when extending it for shipping

Closes #13131
(grafted from 710bafa013393a2ebd3731d890fad427c75df1f1)

--HG--
branch : 7.0
This commit is contained in:
Maxime Richez
2024-04-15 16:20:31 +02:00
parent 53b0e25d3d
commit 98d89d896c
+1
View File
@@ -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)