Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
6392 Weergaven

I was trying to convert lead to opportunity. Partner object are created automaticaly. Parther's fields such as email, name, etc are fill in from lead's fields email,name, etc automaticaly. I created new partner's field "hair color". And also I created lead's field 'hair color'.

My question is: how to copy 'hair color' value from lead object to 'hair color' in new partner object automaticaly, when I am converting lead to opportunity?

Avatar
Annuleer

Your answer is at def _convert_opportunity_data() in crm/crm_lead.py !

Auteur

Thanks for comments. But changing source code is not good solution. As I see no other ways.

In that question they don't change source code, they use the inherit (this means that they add a new folder, with new files, and this files just add some parameters to the original).

Hi Anton, have you success to correct your problem? I search, but not found... Can you help us please?

Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 15
4261
0
mrt. 15
4874
0
mrt. 15
4211
0
mei 25
860
3
feb. 25
26115