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.

1

Multi Company record rules with 'child_of' and 'parent_of'

By
User198605
on 2/23/15, 12:36 AM 1,789 views

I am having an environment of one parent company A and 2 child companies B & C.  I saw some record rules in favour to parent company by saying "child_of".  Example is:

['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]

This means parent company can see child company records (such as Suppliers, POs, Invoices and other data)

Same like that, I want some records created at parent company shall be reused at child company.  (Such as taxes, accounts and few other).  Is there any way I can use "parent_of".  If so, please point me to the correct documentation.

Thanks in advance. 

0
Shawn Varghese
On 6/1/15, 1:19 AM

Not sure if it as been included into the main branch, but you can find the proposed development here:

https://github.com/alhashash/odoo/tree/master-new_operator_parent_of

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

4 follower(s)

Stats

Asked: 2/23/15, 12:36 AM
Seen: 1789 times
Last updated: 6/1/15, 1:19 AM