Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
It seems like all of the default multi-company record rules are set up so that a user can only see records from his/her company or child companies. I imported all my data under the top-level company, which has two sub-companies. I would like to set up the record rules such that a user from a sub-company can see records from that company or the main company. So far, I have been unsuccessful. I see that there is a "child_of" operator, but I haven't seen a "parent_of" operator. I have also tried the domain "['|',('company_id','=',user.company_id.parent_id.id),('company_id','=',False)]", but that doesn't work, either. What domain string would allow for the aforementioned access?
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/21/15, 6:33 PM|
|Seen: 746 times|
|Last updated: 3/16/15, 8:10 AM|