Skip to Content
Menu
This question has been flagged
3662 Zobrazenia

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
Zrušiť

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 Replies Zobrazenia Aktivita
0
dec 24
9618
3
sep 24
21881
5
dec 24
53197
4
júl 24
10694
7
aug 23
11113