Ir al contenido
Menú
Se marcó esta pregunta
3607 Vistas

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.

Publicaciones relacionadas Respuestas Vistas Actividad
0
dic 24
9448
3
sept 24
21596
5
dic 24
52892
4
jul 24
10554
7
ago 23
10896