main #7

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

View File

@@ -319,6 +319,10 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
d.unit = sale_line.unit
d.price = sale_line.unit_price
d.price_type = 'priced'
d.crop = None
d.tol_min = 0
d.tol_max = 0
d.incoterm = None
ct.contracts = [d]
ContractFactory.create_contracts(
ct.contracts,