From 917e820b378b9e7dc1df8c68d3ac29c63c72e284 Mon Sep 17 00:00:00 2001 From: sinergia Date: Tue, 11 Oct 2022 16:04:54 -0500 Subject: [PATCH] add report calibration --- maintenance.xml | 2 +- sale.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/maintenance.xml b/maintenance.xml index 422d14b..21b5764 100644 --- a/maintenance.xml +++ b/maintenance.xml @@ -253,7 +253,7 @@ report/calibration_total.odt - + form_print optical_equipment.maintenance,-1 diff --git a/sale.py b/sale.py index a668a46..29d77b7 100644 --- a/sale.py +++ b/sale.py @@ -37,8 +37,7 @@ class Sale(metaclass=PoolMeta): 'related_party': Eval('party'), },) agended = fields.Boolean("Scheduling",states={ - 'invisible': (Eval('sale_type') != 'maintenance'), - 'readonly': True}) + 'invisible': (Eval('sale_type') != 'maintenance'),}) @fields.depends('lines', 'sale_type', 'agended')