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

Is there any module that adds partners subdivisions/branches as I couldn't find anything that adds such functionality. In older versions there was res.partner.address , which was something similar to that, but it was removed. I'm thinking to develop a module that would let choose parent company like you can choose company for contacts. So it would be something like this:

Two fields is_company and is_branch (if is_company not selected, then is_branch will be invisible). If you don't select is_company, then it works like it is working now - you will create contact for company. If is_company is chosen, then another field is_branch appears. If you select that one too, then it creates another company that is child of main company and appears in new tab in main company next to contacts, like branches, where you will be able to see all branches.

Is such approach good, or would it be better to use some other approach, or maybe something is already done here?

Ảnh đại diện
Huỷ bỏ

i got your module brother.... You done it... Anyway thank you brother....

Câu trả lời hay nhất

If you select the Company before you set the type of record you are entering (Company/Individual), then you will have a Company partner with a parent Company partner:

I entered ACME Western Region, then chose ACME USA as the parent, then chose 'Company' for this example:


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
314
4
thg 12 15
4520
2
thg 12 19
7878
0
thg 2 16
3815