diff --git a/modules/purchase_trade/lot.py b/modules/purchase_trade/lot.py index afa77a2..b01633a 100755 --- a/modules/purchase_trade/lot.py +++ b/modules/purchase_trade/lot.py @@ -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':