From 7f8fd4fafc41e683ac0dbab0442efe397778c983 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Mon, 6 Nov 2023 13:02:13 +0100 Subject: [PATCH] Round new customer moves prices when syncing drop shipment moves Closes #12710 --HG-- branch : 6.0 --- modules/sale_supply_drop_shipment/stock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/sale_supply_drop_shipment/stock.py b/modules/sale_supply_drop_shipment/stock.py index 4a395b96bb..f2d2e5c223 100644 --- a/modules/sale_supply_drop_shipment/stock.py +++ b/modules/sale_supply_drop_shipment/stock.py @@ -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