From 39859adc50b10c4e470b03952fb40c6913f5bfab Mon Sep 17 00:00:00 2001 From: Alfredo Date: Tue, 3 Sep 2024 10:40:09 +0200 Subject: [PATCH] [16.0][FIX] mrp_repair_full_editable: Arreglar domain. --- mrp_repair_full_editable/views/repair_order_view.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mrp_repair_full_editable/views/repair_order_view.xml b/mrp_repair_full_editable/views/repair_order_view.xml index 04d78e1..1a2e528 100644 --- a/mrp_repair_full_editable/views/repair_order_view.xml +++ b/mrp_repair_full_editable/views/repair_order_view.xml @@ -6,19 +6,22 @@ + base.group_no_one {'readonly': ['|', '&', ('invoice_method', '!=', 'b4repair'),('state','=','done')]} + >{'readonly': ['|', '&', ('invoiced', '=', True),('invoice_method', '!=', 'b4repair'),('state','=','done')]} + base.group_no_one {'readonly': ['|', '&', ('invoice_method', '!=', 'b4repair'),('state','=','done')]} + >{'readonly': ['|', '&', ('invoiced', '=', True),('invoice_method', '!=', 'b4repair'),('state','=','done')]} + base.group_no_one {'readonly': ['|', '&', ('invoice_method', '!=', 'b4repair'),('state','=','done')]} + >{'readonly': ['|', '&', ('invoiced', '=', True), ('invoice_method', '!=', 'b4repair'),('state','=','done')]}