This commit is contained in:
2026-01-26 22:45:26 +01:00
parent 6d82621a34
commit 02320ce9c8

View File

@@ -308,7 +308,7 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
d = ContractDetail()
ct.type = 'Purchase'
ct.matched = True
ct.shipment_in = sh
ct.shipment_in = sh[0]
ct.lot = sale_line.lots[0]
ct.product = sale_line.product
ct.unit = sale_line.unit