diff --git a/shipment.py b/shipment.py index 2527164b3d..6c92a1d380 100644 --- a/shipment.py +++ b/shipment.py @@ -910,7 +910,8 @@ class ShipmentOut(ModelWorkflow, ModelSQL, ModelView): if move.state in ('cancel', 'done'): continue move_obj.create({ - 'from_location': move.shipment_out.warehouse.storage_location.id, + 'from_location': \ + move.shipment_out.warehouse.storage_location.id, 'to_location': move.from_location.id, 'product': move.product.id, 'uom': move.uom.id,