main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 0dae857364 - Show all commits

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)