Round new customer moves prices when syncing drop shipment moves

Closes #12710

--HG--
branch : 6.0
This commit is contained in:
Sergi Almacellas Abellana committed 2023-11-06 13:02:13 +01:00
1 parent ad6fd5e04e
commit 7f8fd4fafc
1 file changed
+1
@@ -485,6 +485,7 @@ class ShipmentDrop(Workflow, ModelSQL, ModelView):
unit_price = UoM.compute_price(
s_move.product.default_uom, s_move.product.list_price,
s_move.uom)
unit_price = round_price(unit_price)
new_customer_move = shipment._get_customer_move(s_move)
new_customer_move.quantity = out_quantity
new_customer_move.unit_price = unit_price