diff --git a/stock.py b/stock.py index 2c940f4d06..a99fc54b29 100644 --- a/stock.py +++ b/stock.py @@ -204,4 +204,9 @@ class CreateShipping(Wizard): start = StateTransition() def transition_start(self): + pool = Pool() + ShipmentOut = pool.get('stock.shipment.out') + shipment = ShipmentOut(Transaction().context['active_id']) + method_name = 'validate_packing_%' % shipment.carrier.shipping_service + getattr(shipment, method_name)() return 'end'