diff --git a/modules/automation/automation.py b/modules/automation/automation.py
index 4e22383..c3d2d48 100644
--- a/modules/automation/automation.py
+++ b/modules/automation/automation.py
@@ -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)
diff --git a/modules/purchase_trade/view/lot_tree_sequence5.xml b/modules/purchase_trade/view/lot_tree_sequence5.xml
index 7f8d697..35d9101 100755
--- a/modules/purchase_trade/view/lot_tree_sequence5.xml
+++ b/modules/purchase_trade/view/lot_tree_sequence5.xml
@@ -6,4 +6,5 @@
+