Add missing button decorator to ShipmentInternal.ship

issue6582
review42441002
This commit is contained in:
Cédric Krier committed 2017-06-27 12:36:18 +02:00
1 parent fbdfb3ff39
commit 265b8952ee
1 file changed
+1
+1
View File
@@ -2377,6 +2377,7 @@ class ShipmentInternal(Workflow, ModelSQL, ModelView):
pass
@classmethod
@ModelView.button
@Workflow.transition('shipped')
@set_employee('shipped_by')
def ship(cls, shipments):