Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Why a user wich has access rights to many companies cannot access all of them?

v7
By
Yves Geoffroy
on 4/1/14, 3:10 PM 629 views

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!

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>

silvi
on 4/1/14, 8:37 PM

OK. Thanks.

Yves Geoffroy
on 5/2/14, 3:18 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 4/1/14, 3:10 PM
Seen: 629 times
Last updated: 3/16/15, 8:10 AM