From 981a97ed05df87a8fdc09ad46e3ab02f587f40fc Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Sat, 14 Feb 2026 17:53:36 +0100 Subject: [PATCH] 14.02.26 --- modules/purchase_trade/lot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/purchase_trade/lot.py b/modules/purchase_trade/lot.py index 825653b..afa77a2 100755 --- a/modules/purchase_trade/lot.py +++ b/modules/purchase_trade/lot.py @@ -2015,6 +2015,7 @@ class LotShipping(Wizard): raise UserError("Please unlink before linking to a new shipment !") else: shipped_quantity = Decimal(str(r.r_lot_quantity)).quantize(Decimal("0.00001")) + logger.info("LotShipping:%s",shipped_quantity) shipment_origin = None if self.ship.quantity: shipped_quantity = self.ship.quantity @@ -2057,6 +2058,7 @@ class LotShipping(Wizard): lqt = LotQt(r.id - 10000000) #Increase forecasted virtual part shipped if not lqt.lot_p.updateVirtualPart(shipped_quantity,shipment_origin,lqt.lot_s): + logger.info("LotShipping2:%s",shipped_quantity) lqt.lot_p.createVirtualPart(shipped_quantity,shipment_origin,lqt.lot_s) #Decrease forecasted virtual part non shipped lqt.lot_p.updateVirtualPart(-shipped_quantity,None,lqt.lot_s)