Set cancel state for the transition of ShipmentOut.cancel

The changeset b72e1e9b9097 put the wrong value during the refactoring.

issue7827
review70441002
This commit is contained in:
Cédric Krier committed 2018-10-31 18:10:32 +01:00
1 parent b946956a43
commit 6417d6dcf5
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ class ShipmentOut(metaclass=PoolMeta):
@classmethod
@ModelView.button
@Workflow.transition('done')
@Workflow.transition('cancel')
@process_sale('outgoing_moves')
def cancel(cls, shipments):
super(ShipmentOut, cls).cancel(shipments)