From 7e726010b8b3da005982b6afd8f6eae9f979b37c Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Tue, 3 Mar 2026 20:10:02 +0100 Subject: [PATCH] 03.03.26 --- modules/purchase_trade/stock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/purchase_trade/stock.py b/modules/purchase_trade/stock.py index a01c771..85f627d 100755 --- a/modules/purchase_trade/stock.py +++ b/modules/purchase_trade/stock.py @@ -803,8 +803,8 @@ class ShipmentIn(metaclass=PoolMeta): "FeeTotalCost": float(fee.amount), "FeeUnitPrice": float(fee.price), "ContractNumbers": sh.number, - "OrderQuantityGW": float(fee.quantity) if fee.quantity else float(1), - "NumberOfPackingBales": 1 + "OrderQuantityGW": float(sh.get_quantity()) if sh.get_quantity() else float(1), + "NumberOfPackingBales": int(fee.quantity) if fee.quantity else int(1) } logger.info("PAYLOAD:%s",so_payload)