跳至內容
選單
此問題已被標幟
1 回覆
2584 瀏覽次數

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?

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
6月 25
1261
1
9月 24
3319
1
8月 24
1627
1
8月 24
1854
3
3月 24
3641