Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
13019 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 21
3042
2
ene 24
3386
0
ene 24
1633
0
dic 20
2168
0
nov 20
3840