Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
13021 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 21
3042
2
thg 1 24
3387
0
thg 1 24
1633
0
thg 12 20
2168
0
thg 11 20
3840