|
@ -5,10 +5,13 @@ |
|
|
<field name="model">res.users</field> |
|
|
<field name="model">res.users</field> |
|
|
<field name="inherit_id" ref="base_user_role.view_res_users_form_inherit" /> |
|
|
<field name="inherit_id" ref="base_user_role.view_res_users_form_inherit" /> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="role_id" position="after"> |
|
|
|
|
|
|
|
|
<xpath |
|
|
|
|
|
expr="//field[@name='role_line_ids']//field[@name='role_id']" |
|
|
|
|
|
position="after" |
|
|
|
|
|
> |
|
|
<field name="company_id" groups="base.group_multi_company" /> |
|
|
<field name="company_id" groups="base.group_multi_company" /> |
|
|
<field name="active_role" groups="base.group_no_one" readonly="1" /> |
|
|
<field name="active_role" groups="base.group_no_one" readonly="1" /> |
|
|
</field> |
|
|
|
|
|
|
|
|
</xpath> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
</odoo> |
|
|
</odoo> |