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
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
0
mars 24
|
3399 | |||
|
0
juil. 19
|
36 | |||
|
1
déc. 17
|
3349 | |||
|
1
juin 20
|
4725 | |||
|
E-commerce CRM Business case
Résolu
|
1
déc. 19
|
3615 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.