Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Problem converting a lead into an opportunity

Jan Stevens
on 6/7/13, 7:24 PM 973 views

Here is an example of a repeatable problem. Let's say you already have a customer named "Patrick James" on your system.

Now create a new lead, and only fill in the Subject line (type anything you like) and fill in the Contact Name as "Patrick".

Save the lead, and then click on the Convert to Opportunity button.

The system proposes by default to create a new opportunity, and link to an existing customer named "Patrick James'. When you change this to "Create a new customer" it still creates the Opportunity with customer name "Patrick James" in stead of creating a new customer.

Anyone has some advice here?

Hi Jan, We have the same problem, Have you find a solution? Thank's!

on 10/24/13, 6:10 AM
On 11/14/13, 6:42 PM

Actually I found solution after going through the OpenERP code.

The contact is basically same as customer, except, when you create new contact, add new for 'res.partner', and set parent_id field to the customer id, then set 'is_company' to False, and the other fields (name etc..) for the contact.

Then you will see the contact under the customer in the "contacts" tab.

I don't think it's a bug, just that the 'res.partner' model is used for multiple things and the fields determine what that thing will be and where it will be displayed.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 6/7/13, 7:24 PM
Seen: 973 times
Last updated: 3/16/15, 8:10 AM