Browse Source

[IMP] base_user_role: display roles as first tab in user form

pull/641/head
Stéphane Bidoul (ACSONE) 8 years ago
committed by sebalix
parent
commit
205b728d13
  1. 4
      base_user_role/views/user.xml

4
base_user_role/views/user.xml

@ -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>

Loading…
Cancel
Save