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

I created a Dummy Company X, and Dummy Company Y, and exported it to Excel so I could set the format to import many other customers. There's a "parent_id/id" field exported, which I thought referred to the customer's parent company. However when editing the form I can't find any spot to assign customer X as a child of customer Y. 

Have I misunderstood parent_id? Where can I make this association? Where will this association show up after it is made? 

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

Although the data model supports what you want to do, the user interface was designed to allow only 'Contacts' to have a parent 'Company' defined.

You can see this when you toggle the Is a Company checkbox - the parent 'Company' field will show or hide depending on the value of the checkbox.

You can modify the view to show the parent_id field by changing the invisible attribute to remove the is_company condition.

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

Actually - with the current runbot build, if you enter the parent company BEFORE checking the box, you can do this via the UI!

Tác giả

Works in V7 and V8!

Tác giả Câu trả lời hay nhất

AWESOME, it worked perfectly AND my subsidiary showed up as a Contact under the parent company. Excellent! Thanks Ray!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 20
4395
1
thg 9 15
5076
0
thg 3 15
5420
1
thg 3 15
8693
0
thg 3 15
3123