Skip to content

Commit

Permalink
[FIX] quality_control: created new notebook page to avoid activate va…
Browse files Browse the repository at this point in the history
…riants + permissions (OCA#325)
  • Loading branch information
oihane authored and mymage committed Jan 17, 2023
1 parent 892eaad commit 6a3293e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion quality_control_oca/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{
"name": "Quality control",
"version": "11.0.1.0.0",
"version": "11.0.1.1.0",
"category": "Quality control",
"license": "AGPL-3",
"summary": "Generic infrastructure for quality tests.",
Expand Down
5 changes: 3 additions & 2 deletions quality_control_oca/views/product_template_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
<field name="name">product.template.qc</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="groups_id" eval="[(4, ref('quality_control.group_quality_control_user'))]" />
<field name="arch" type="xml">
<xpath expr="//page[2]" position="inside">
<page name="inventory" position="inside">
<group name="qc" string="Quality control">
<field name="qc_triggers" nolabel="1">
<tree string="Quality control triggers" editable="bottom">
Expand All @@ -23,7 +24,7 @@
</tree>
</field>
</group>
</xpath>
</page>
</field>
</record>

Expand Down

0 comments on commit 6a3293e

Please sign in to comment.