Reputation: 46
I'm new to OpenERP 7 and I'm trying to pass a custom field value from Lead to Partner when I convert a Lead to Partner.
I understand that I need to modify or add some functions in wizard directory of my new module (I assume I need to extend the crm module)
Is correct? Anyone can recommend me any example or let me know some tips?
Thanks in advance.
Upvotes: 0
Views: 143
Reputation: 5044
There are actually two methods defined in crm._lead_create_partner
and _lead_create_contact
. These methods create partner and contact respectively. You can override these methods(first use the _lead_create_partner
) to pass value to partner.
Upvotes: 1