This commit is contained in:
2026-02-14 18:16:29 +01:00
parent f3ebeb7cd3
commit f0b979ac8c

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(str(r.r.r_lot_matched)).quantize(Decimal("0.00001"))
shipped_quantity = Decimal(str(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':