Add missing button decorator to ShipmentInternal.ship
issue6582 review42441002
This commit is contained in:
1 parent
fbdfb3ff39
commit
265b8952ee
1 file changed
+1
@@ -2377,6 +2377,7 @@ class ShipmentInternal(Workflow, ModelSQL, ModelView):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
@ModelView.button
|
||||
@Workflow.transition('shipped')
|
||||
@set_employee('shipped_by')
|
||||
def ship(cls, shipments):
|
||||
|
||||
Reference in new issue
Block a user