I am in the process of creating a website. I will be using Wordpress on Vultr hosting. I am unclear on IF I can create a HTML form on my website and have the info sync directly into Odoo?!?!?!
Is this possible?!
Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I am in the process of creating a website. I will be using Wordpress on Vultr hosting. I am unclear on IF I can create a HTML form on my website and have the info sync directly into Odoo?!?!?!
Is this possible?!
Thank you
Hi,
Yes it is absolutely possible to build an HTML form on a WordPress site (hosted on Vultr) and have the submitted data go directly into Odoo using jsonrpc.
Here is a detailed documentation: https://www.cybrosys.com/odoo/odoo-books/odoo-17-development/rpc/jsonrpc/
Hope it helps
Hi Encircle Network,
Yes! You can sync a HTML form on your WordPress website directly into Odoo using webhooks. You can see image, here's a clear step-by-step guide combining the image instructions with adding a webhook URL:
In the Model field, choose the model where you want to store your form data.
In the Trigger dropdown, select On Webhook .
https://your-odoo-domain.com/web/hook/<unique_id>
<form action="https://your-odoo-domain.com/web/hook/<unique_id>" method="POST">
<input type="text" name="name" placeholder="Your Name">
<input type="email" name="email" placeholder="Email">
<input type="submit" value="Submit"></form>
model.env[payload.get('_model')].browse(int(payload.get('_id')))Explanation of variables :
record = model.env['res.partner'].create({
'name': payload.get('name'),
'email': payload.get('email')
})✅ Result:When someone submits your WordPress form, the data is sent to Odoo via the webhook and stored in the chosen model automatically.
If you have any questions, feel free to reach out.
Hope this helps!
Thanks and Regards,
Email: odoo@aktivsoftware.com
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
0
mar 24
|
3389 | |||
|
0
jul 19
|
36 | |||
|
1
dic 17
|
3342 | |||
|
1
jun 20
|
4717 | |||
|
E-commerce CRM Business case
Resuelto
|
1
dic 19
|
3608 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.