تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
13241 أدوات العرض

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. 

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 21
3192
2
يناير 24
3764
0
يناير 24
1888
0
ديسمبر 20
2403
0
نوفمبر 20
3975