This commit is contained in:
2026-01-27 23:15:45 +01:00
parent aa69b8157e
commit 0678263f3e
2 changed files with 2 additions and 1 deletions

View File

@@ -380,7 +380,7 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
l.lot_gross_quantity = round(lot_gross_weight,2)
l.lot_premium = premium
l.lot_chunk_key = int(chunk_key)
logger.info("ADD_LOT:%s",l)
logger.info("ADD_LOT:%s",int(chunk_key))
LotQt.add_physical_lots(lqt,[l])
if sale_line:
logger.info("CREATE_FINTRADE_WR_FOR_SL:%s",sale_line)

View File

@@ -6,4 +6,5 @@
<field name="lot_gross_quantity"/>
<field name="lot_unit_line"/>
<field name="lot_premium" width="80"/>
<field name="lot_chunk_key"/>
</tree>