This commit is contained in:
2026-02-14 17:38:43 +01:00
parent e43189f052
commit 9ed4d5f6bb
3 changed files with 13 additions and 6 deletions

View File

@@ -2014,7 +2014,7 @@ class LotShipping(Wizard):
if r.r_lot_shipment_in:
raise UserError("Please unlink before linking to a new shipment !")
else:
shipped_quantity = Decimal(r.r_lot_quantity)
shipped_quantity = Decimal(str(r.r_lot_quantity)).quantize(Decimal("0.00001"))
shipment_origin = None
if self.ship.quantity:
shipped_quantity = self.ship.quantity