mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[FIX] quality_control_oca: Protect product category view with group
For avoiding access errors when other users without quality quality permissions wants to open the product category view.
This commit is contained in:
committed by
Stefano Consolaro
parent
b6e28f33d3
commit
9fdd9924f0
@@ -10,6 +10,7 @@
|
||||
<field name="name">product.category.qc</field>
|
||||
<field name="model">product.category</field>
|
||||
<field name="inherit_id" ref="product.product_category_form_view" />
|
||||
<field name="groups_id" eval="[(4, ref('group_quality_control_user'))]" />
|
||||
<field name="arch" type="xml">
|
||||
<group name="first" position="after">
|
||||
<group name="qc" string="Quality control">
|
||||
|
||||
Reference in New Issue
Block a user