Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
13282 Zobrazení

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. 

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 21
3245
2
led 24
3815
0
led 24
1913
0
pro 20
2432
0
lis 20
3988