base_user_role: display roles as first tab in user form

This commit is contained in:
Stéphane Bidoul (ACSONE)
2016-12-10 12:12:09 +01:00
committed by Duc Dao
parent 604a9d1c63
commit 547f74012c

View File

@@ -8,7 +8,7 @@
<field name="model">res.users</field> <field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form"/> <field name="inherit_id" ref="base.view_users_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<notebook position="inside"> <xpath expr="//notebook/page[1]" position="before">
<page string="Roles"> <page string="Roles">
<field name="role_line_ids" nolabel="1"> <field name="role_line_ids" nolabel="1">
<tree editable="bottom" colors="grey: not is_enabled;"> <tree editable="bottom" colors="grey: not is_enabled;">
@@ -19,7 +19,7 @@
</tree> </tree>
</field> </field>
</page> </page>
</notebook> </xpath>
</field> </field>
</record> </record>