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

I am using selfhosted Odoo community V16. 

I added custom fields for contacts using developer tools, which I successfully added to the contacts UI. 

Now I am trying to make the same information available in opportunities that I create for the contacts, so that my sales team can use that information for reference.  How to do that? Can anyone help?

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

Hi,


You can show custom contact fields in CRM by using related fields.

In the crm.lead model, create a new field.

Use the same field type as the one you added in Contacts.

Set the field as:


related='partner_id.your_custom_field_name'


Then, add this field to the CRM form view using xpath.

This way, your sales team will see contact info directly in Opportunities.


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 25
1326
1
thg 9 24
3400
1
thg 8 24
1682
1
thg 8 24
1921
3
thg 3 24
3871