main #7
@@ -803,8 +803,8 @@ class ShipmentIn(metaclass=PoolMeta):
|
|||||||
"FeeTotalCost": float(fee.amount),
|
"FeeTotalCost": float(fee.amount),
|
||||||
"FeeUnitPrice": float(fee.price),
|
"FeeUnitPrice": float(fee.price),
|
||||||
"ContractNumbers": sh.number,
|
"ContractNumbers": sh.number,
|
||||||
"OrderQuantityGW": float(fee.quantity) if fee.quantity else float(1),
|
"OrderQuantityGW": float(sh.get_quantity()) if sh.get_quantity() else float(1),
|
||||||
"NumberOfPackingBales": 1
|
"NumberOfPackingBales": int(fee.quantity) if fee.quantity else int(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info("PAYLOAD:%s",so_payload)
|
logger.info("PAYLOAD:%s",so_payload)
|
||||||
|
|||||||
Reference in New Issue
Block a user