This question has been flagged
2 Replies
3624 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?

Avatar
Discard

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

Best Answer

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.

Avatar
Discard