XaRz
XaRz

Reputation: 46

Need to pass lead custom field value to partner when converting to lead to partner in OpenERP 7

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

Answers (1)

OmaL
OmaL

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

Related Questions