Ir al contenido
Menú
Se marcó esta pregunta
3683 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
1
ago 25
4466
0
dic 24
9675
3
sept 24
21924
5
dic 24
53295
4
jul 24
10776