From 7536bb912169576ba80a9e5f205822ac56096b39 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 a4afe4f10e5..c5a31588e44 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( "Sequence", help="Used to order states. Lower is better.", default=100 ) - state = fields.Selection(_STATES, "State", readonly=True, default="draft") + state = fields.Selection(_STATES, "State", 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 dc9a96b9e44..851163997e8 100644 --- a/mgmtsystem_nonconformity/views/mgmtsystem_nonconformity_stage.xml +++ b/mgmtsystem_nonconformity/views/mgmtsystem_nonconformity_stage.xml @@ -25,6 +25,7 @@ +