Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3665 Visualizações

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
Cancelar

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.

Publicações relacionadas Respostas Visualizações Atividade
0
dez. 24
9654
3
set. 24
21901
5
dez. 24
53227
4
jul. 24
10736
7
ago. 23
11155