Don't create move with quantity of zero
when synchronise outgoing moves with inventory moves issue4632 review13081002
This commit is contained in:
1 parent
1375ef074e
commit
aa65bf9f3f
1 file changed
+2
@@ -1155,6 +1155,8 @@ class ShipmentOut(Workflow, ModelSQL, ModelView):
|
||||
else:
|
||||
out_quantity = move.quantity
|
||||
|
||||
if not out_quantity:
|
||||
continue
|
||||
unit_price = Uom.compute_price(move.product.default_uom,
|
||||
move.product.list_price, move.uom)
|
||||
to_create.append(shipment._get_outgoing_move(move))
|
||||
|
||||
Reference in new issue
Block a user