From f3ebeb7cd3e191db5d99c42669cbf90572d5b005 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sat, 14 Feb 2026 18:02:08 +0100 Subject: [PATCH] 14.02.26 --- modules/purchase_trade/lot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':