Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
13011 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
апр. 21
3031
2
янв. 24
3384
0
янв. 24
1629
0
дек. 20
2166
0
нояб. 20
3839