Browse Source

Merge PR #137 into 14.0

Signed-off-by dreispt
14.0
OCA-git-bot 3 years ago
parent
commit
f115a727f7
  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="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>
Loading…
Cancel
Save