Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
6865 มุมมอง

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?

อวตาร
ละทิ้ง

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

ผู้เขียน

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?

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
4709
0
มี.ค. 15
5277
0
มี.ค. 15
4659
How does Odoo manage lost leads? แก้ไขแล้ว
3
ก.ย. 25
611
0
พ.ค. 25
1411