Skip to Content
Menú
This question has been flagged
3610 Vistes

In a multi-companies environment, I created a superuser account which has access to all companies (allowed companies) and set Multi Companies (Usability) to On. When this superuser sign on, his access rights are only those to the user's company. All other companies are not visible in "Allowed companies". There is an exception. If the user's company is the highest level in the company's structure (only 2 levels).

Is that a bug?

Thanks!

Avatar
Descartar

Because of ir rule on access right of user.Below filter control the user access right. <field name="domain_force"> ['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)]</field>

Autor

OK. Thanks.

Related Posts Respostes Vistes Activitat
0
de des. 24
9448
3
de set. 24
21598
5
de des. 24
52896
4
de jul. 24
10558
7
d’ag. 23
10900