From 5a7ec9b662fa0b55c994b04929960267308231e6 Mon Sep 17 00:00:00 2001 From: Ahmed F Date: Sat, 6 Aug 2022 11:18:01 +0100 Subject: [PATCH] nonconformity_stage : state field changed to non ReadOnly --- .../models/mgmtsystem_nonconformity_stage.py | 2 +- .../views/mgmtsystem_nonconformity_stage.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mgmtsystem_nonconformity/models/mgmtsystem_nonconformity_stage.py b/mgmtsystem_nonconformity/models/mgmtsystem_nonconformity_stage.py index 0bdcf1b33e8d..44b2748d60b7 100644 --- a/mgmtsystem_nonconformity/models/mgmtsystem_nonconformity_stage.py +++ b/mgmtsystem_nonconformity/models/mgmtsystem_nonconformity_stage.py @@ -24,7 +24,7 @@ class MgmtsystemNonconformityStage(models.Model): sequence = fields.Integer( help="Used to order states. Lower is better.", default=100 ) - state = fields.Selection(_STATES, readonly=True, default="draft") + state = fields.Selection(_STATES, default="draft") is_starting = fields.Boolean( string="Is starting Stage", help="select stis checkbox if this is the default stage \n" diff --git a/mgmtsystem_nonconformity/views/mgmtsystem_nonconformity_stage.xml b/mgmtsystem_nonconformity/views/mgmtsystem_nonconformity_stage.xml index 6430dbbd6553..3e9656a88b85 100644 --- a/mgmtsystem_nonconformity/views/mgmtsystem_nonconformity_stage.xml +++ b/mgmtsystem_nonconformity/views/mgmtsystem_nonconformity_stage.xml @@ -25,6 +25,7 @@ +