• Resolved mrprunen

    (@mrprunen)


    I’m trying to connect a simple form whit contact form 7 to create a lead/ooportunity on odoo 10.
    I have mapped the few fields (basic contanct form 7 form) but I have a question on the “type” field that should content “lead” string or “opportunity” but I do not know how to configure it in the form
    You can do an example or a tutorial.
    I think this plugin is potentially a great tool but I can not configure it.
    Is there any configuration to do in odoo to get the lead?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author coderscom

    (@coderscom)

    You can create a hidden field in the contact form with a default value of either “lead” or “opportunity” and map the same to type field in Mapping screen.

    Details about Odoo configuration for API can be found at https://www.odoo.com/documentation/8.0/api_integration.html

    Thread Starter mrprunen

    (@mrprunen)

    Thanks!
    I have inserted the hidden field and it works perfectly.
    Here is the example
    [Hidden type “lead”]
    If I find it a while I will give you a hand in the translation for the Italian.
    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Simple lead creation example’ is closed to new replies.