You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
861 B

<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="view_res_groups_form" model="ir.ui.view">
<field name="model">res.groups</field>
<field name="inherit_id" ref="base.view_groups_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='model_access']/tree" position="attributes">
<attribute name="create">name == 'Access Rights'</attribute>
<attribute name="delete">name != 'Access Rights'</attribute>
</xpath>
<xpath expr="." position="attributes">
<attribute name="edit">name == 'Access Rights'</attribute>
<attribute name="delete">name != 'Access Rights'</attribute>
</xpath>
</field>
</record>
</data>
</openerp>