From 265b8952ee547a2ade7db3de08063cde27c1d3d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 27 Jun 2017 12:36:18 +0200 Subject: [PATCH] Add missing button decorator to ShipmentInternal.ship issue6582 review42441002 --- shipment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shipment.py b/shipment.py index 712db4f6f2..1179991373 100644 --- a/shipment.py +++ b/shipment.py @@ -2377,6 +2377,7 @@ class ShipmentInternal(Workflow, ModelSQL, ModelView): pass @classmethod + @ModelView.button @Workflow.transition('shipped') @set_employee('shipped_by') def ship(cls, shipments):