Browse Source

[FIX] base_user_role_company: wrong xpath

14.0
Andrii Skrypka 3 years ago
parent
commit
10152e6602
  1. 7
      base_user_role_company/views/role.xml

7
base_user_role_company/views/role.xml

@ -5,10 +5,13 @@
<field name="model">res.users</field>
<field name="inherit_id" ref="base_user_role.view_res_users_form_inherit" />
<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="active_role" groups="base.group_no_one" readonly="1" />
</field>
</xpath>
</field>
</record>
</odoo>
Loading…
Cancel
Save