Decorate pack button of customer shipment when extending it for shipping
Closes #13131 (grafted from 710bafa013393a2ebd3731d890fad427c75df1f1) --HG-- branch : 6.0
This commit is contained in:
@@ -288,6 +288,7 @@ class ShipmentOut(ShippingMixin, metaclass=PoolMeta):
|
||||
& (model_data.fs_id == 'create_shipping_button')))
|
||||
|
||||
@classmethod
|
||||
@ModelView.button
|
||||
@Workflow.transition('packed')
|
||||
def pack(cls, shipments):
|
||||
super().pack(shipments)
|
||||
|
||||
Reference in New Issue
Block a user