26.01.26
This commit is contained in:
@@ -319,6 +319,10 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
|
|||||||
d.unit = sale_line.unit
|
d.unit = sale_line.unit
|
||||||
d.price = sale_line.unit_price
|
d.price = sale_line.unit_price
|
||||||
d.price_type = 'priced'
|
d.price_type = 'priced'
|
||||||
|
d.crop = None
|
||||||
|
d.tol_min = 0
|
||||||
|
d.tol_max = 0
|
||||||
|
d.incoterm = None
|
||||||
ct.contracts = [d]
|
ct.contracts = [d]
|
||||||
ContractFactory.create_contracts(
|
ContractFactory.create_contracts(
|
||||||
ct.contracts,
|
ct.contracts,
|
||||||
|
|||||||
Reference in New Issue
Block a user