This question has been flagged
2 Replies
5402 Views

I need help with a php script to add a new lead into Open ERP.

I have a web form on my HTML website and when a user captures information on the form, i want the information to be saved in Open ERP as  new Lead.

The fields i want to be saved are Name, Surname,Phone,Email,Internal Notes and 3-5 custom fields if thats possible.

Thanks in advance for the help.I am prepared to write the script myself but just need some guidance if anybody has done it before.

Avatar
Discard
Best Answer

Hello Tawanda, 

I've the same problem as you, I need to save some information from a form in order to create a new potencial cliente and I don't know how to create a new lead.

Can you tell me how did you do?

Thank you in advance.

 

Avatar
Discard
Best Answer

Haven't done anything like that before but you need to write 2 things:

 

With these 2 steps in mind I think you will do just fine. If you encounter anything specific, feel free to ask.

[EDIT]

By the way, as a headstart, the object you will need to create is "crm.lead". Look for that in the CRM module of OpenERP.

Avatar
Discard