Skip to content

Commit

Permalink
[MIG] mgmtsystem_nonconformity: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgarRetes committed Oct 9, 2024
1 parent b90a576 commit 0ef8d62
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions mgmtsystem_nonconformity/views/mgmtsystem_nonconformity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,28 +230,28 @@
<field name="create_date" readonly="1" />
<field
name="partner_id"
readonly="state not in 'draft' and state not in 'analysis'"
readonly="state not in ('draft', 'analysis')"
/>
<field name="reference" readonly="state not in 'draft'" />
<field
name="origin_ids"
widget="many2many_tags"
readonly="state not in 'draft' and state not in 'analysis'"
readonly="state not in ('draft', 'analysis')"
/>
</group>
<group name="meta">
<field
name="responsible_user_id"
readonly="state not in 'draft' and state not in 'analysis'"
readonly="state not in ('draft', 'analysis')"
/>
<field
name="manager_user_id"
readonly="state not in 'draft' and state not in 'analysis'"
readonly="state not in ('draft', 'analysis')"
/>
<field name="user_id" readonly="state not in 'draft'" />
<field
name="system_id"
readonly="state not in 'draft' and state not in 'analysis'"
readonly="state not in ('draft', 'analysis')"
/>
<field
name="company_id"
Expand All @@ -266,21 +266,21 @@
<field
name="description"
placeholder="Add a description ..."
readonly="state not in 'draft' and state not in 'analysis'"
readonly="state not in ('draft', 'analysis')"
/>
<group name="state">
<field
name="immediate_action_id"
domain="[('type_action','=','immediate')]"
readonly="state not in 'draft' and state not in 'analysis'"
readonly="state not in ('draft', 'analysis')"
/>
</group>
</page>

<page string="Procedures" name="procedures">
<field
name="procedure_ids"
readonly="state not in 'draft' and state not in 'analysis'"
readonly="state not in ('draft', 'analysis')"
domain="[('parent_id','in',('Procedure','Environmental Aspect','Manuals'))]"
/>
</page>
Expand Down

0 comments on commit 0ef8d62

Please sign in to comment.