This commit is contained in:
2026-01-26 22:38:27 +01:00
parent 9a974365a7
commit 0dae857364

View File

@@ -310,6 +310,8 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
ct.matched = True
ct.shipment_in = sh
ct.lot = sale_line.lots[0]
ct.product = sale_line.product
ct.unit = sale_line.unit
d.party = Party.getPartyByName('FAIRCOT')
if sale_line.enable_linked_currency:
d.currency_unit = str(sale_line.linked_currency.id) + '_' + str(sale_line.linked_unit.id)