[FIX] base_user_role_company: roles not properly applied on login

This commit is contained in:
Daniel Reis
2022-02-15 12:34:49 +00:00
committed by Robin Conjour
parent b7c3aa688d
commit 31b92c7de9
5 changed files with 42 additions and 30 deletions

View File

@@ -9,8 +9,8 @@
expr="//field[@name='role_line_ids']//field[@name='role_id']"
position="after"
>
<field name="allowed_company_ids" invisible="1" />
<field name="company_id" groups="base.group_multi_company" />
<field name="active_role" groups="base.group_no_one" readonly="1" />
</xpath>
</field>
</record>