This commit is contained in:
2026-02-14 18:02:08 +01:00
parent 981a97ed05
commit f3ebeb7cd3

View File

@@ -2020,7 +2020,7 @@ class LotShipping(Wizard):
if self.ship.quantity:
shipped_quantity = self.ship.quantity
if shipped_quantity == 0:
shipped_quantity = Decimal(r.r_lot_matched)
shipped_quantity = Decimal(str(r.r.r_lot_matched)).quantize(Decimal("0.00001"))
if self.ship.shipment == 'in':
shipment_origin = 'stock.shipment.in,'+str(self.ship.shipment_in.id)
elif self.ship.shipment == 'out':