From a3b7d11ae3a0148167a27983813e77a742e91676 Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Mon, 26 Jan 2026 22:23:08 +0100 Subject: [PATCH] 26.01.26 --- modules/automation/automation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/automation/automation.py b/modules/automation/automation.py index 4b3731c..da45a96 100644 --- a/modules/automation/automation.py +++ b/modules/automation/automation.py @@ -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,