Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2695 Ansichten

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?

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Juni 25
1336
1
Sept. 24
3411
1
Aug. 24
1694
1
Aug. 24
1941
3
März 24
3901