changeset fc86e8c0264c in modules/product:default
details: https://hg.tryton.org/modules/product?cmd=changeset;node=fc86e8c0264c
description:
        Add access right on configuration

        issue9000
        review274731002
diffstat:

 configuration.xml |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r b98cd0632102 -r fc86e8c0264c configuration.xml
--- a/configuration.xml Mon Feb 17 10:17:31 2020 +0100
+++ b/configuration.xml Sun Feb 23 13:56:58 2020 +0100
@@ -28,6 +28,22 @@
             <field name="menu" ref="menu_product_configuration"/>
             <field name="group" ref="group_product_admin"/>
         </record>
+
+        <record model="ir.model.access" id="access_product_configuration">
+            <field name="model" search="[('model', '=', 
'product.configuration')]"/>
+            <field name="perm_read" eval="True"/>
+            <field name="perm_write" eval="False"/>
+            <field name="perm_create" eval="False"/>
+            <field name="perm_delete" eval="False"/>
+        </record>
+        <record model="ir.model.access" 
id="access_product_configuration_product_admin">
+            <field name="model" search="[('model', '=', 
'product.configuration')]"/>
+            <field name="group" ref="group_product_admin"/>
+            <field name="perm_read" eval="True"/>
+            <field name="perm_write" eval="True"/>
+            <field name="perm_create" eval="True"/>
+            <field name="perm_delete" eval="True"/>
+        </record>
     </data>
     <data noupdate="1">
         <record model="product.configuration.default_cost_price_method"

Reply via email to