Skip to content

Commit

Permalink
nonconformity_stage : state field changed to non ReadOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
foah authored and grindtildeath committed Oct 24, 2023
1 parent 76fe9af commit 5a7ec9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<field name="fold" />
<field name="sequence" groups="base.group_no_one" />
<field name="is_starting" />
<field name="state" />
</group>
</sheet>
</form>
Expand Down

0 comments on commit 5a7ec9b

Please sign in to comment.