diff --git a/stock.py b/stock.py index 226f94f19f..85b439eea8 100644 --- a/stock.py +++ b/stock.py @@ -52,7 +52,7 @@ class ShipmentOut(metaclass=PoolMeta): @classmethod @ModelView.button - @Workflow.transition('cancel') + @Workflow.transition('cancelled') @process_sale('outgoing_moves') def cancel(cls, shipments): super(ShipmentOut, cls).cancel(shipments)