Hello Kevin, thanks for the great video. In case I go for updating a record (in the case of customer changed) If the customer doesn't exist, will odoo create the one I sent or not?
On one database this works very well! But on other database I get an error on the 'request', any thoughts? What am I missing? Webhook #1 failed with error: Traceback (most recent call last): File "ir.actions.server(613,)", line 16, in NameError: name 'request' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 383, in safe_eval return unsafe_eval(c, globals_dict, locals_dict) File "ir.actions.server(613,)", line 18, in NameError: name 'request' is not defined
how can i do rest api queries on odoo studio? is it troguh webhooks? its the case that when i add a 10 digit code on a field i want to trigger a Get request to a server which will reply information to fill 5 fields related to the 10 digit code. how can i perform this request and parse back the response?
Odoo does not have REST API built-in. You might need to install a 3rd party module to expose the databse with REST API. There is an option "execute another action" in that webhook automation creation panel. You might need a string of actions to achieve something.
thanks for the video :) Using payload variable we can receive the passed values in the automated action, without installing the website application: th-cam.com/video/9KWuFFd7tEw/w-d-xo.html and to create record inside odoo: th-cam.com/video/KrVyiSoM1UY/w-d-xo.html
Thanks for the tutorial, can I use webhooks to create new records inside the "crm.lead" model? I have tried to do it but have not been successful. I think it's because I don't know how the "Target Record" field works. thanks again for the tutorial
Hi Kevin Zaki, very good video for my reference, may I know how to activate the inbox notification after creating the message?
can we use webhook to download a report in odoo studio?
Webhooks for inventory?
Hello Kevin, thanks for the great video.
In case I go for updating a record (in the case of customer changed) If the customer doesn't exist, will odoo create the one I sent or not?
Can we webhook for whatsapp Api on wati integration and automation on sale invoice etc process
Is it only work for Odoo 17?
It's only in studio in ODOO 17, but it's simple enough to send webhooks using python. th-cam.com/video/dM1yhOfhyBk/w-d-xo.html
Its a pro version right ? , i need to pay for it, is that true ?
Hello,
Which dev branch you use in the runbot to test this out? Because whatever branch I picked I got access denied in the server actions..
Tnx
Thank you for this amazing tutorial
On one database this works very well! But on other database I get an error on the 'request', any thoughts? What am I missing?
Webhook #1 failed with error:
Traceback (most recent call last):
File "ir.actions.server(613,)", line 16, in
NameError: name 'request' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 383, in safe_eval
return unsafe_eval(c, globals_dict, locals_dict)
File "ir.actions.server(613,)", line 18, in
NameError: name 'request' is not defined
how can i do rest api queries on odoo studio? is it troguh webhooks? its the case that when i add a 10 digit code on a field i want to trigger a Get request to a server which will reply information to fill 5 fields related to the 10 digit code. how can i perform this request and parse back the response?
Odoo does not have REST API built-in. You might need to install a 3rd party module to expose the databse with REST API. There is an option "execute another action" in that webhook automation creation panel. You might need a string of actions to achieve something.
in my case, it blames "request" is not defined and I couldn't import it. Can you help out?
Do you have the website app installed?
@@KZAKI Your comment helped me to fix the same error. Thanks!
i got request is not defined
same here. did you find any solution?
Is he using a paid version of Odoo?
If yes, then how can we do the same in the free version?
thanks for the video :)
Using payload variable we can receive the passed values in the automated action, without installing the website application: th-cam.com/video/9KWuFFd7tEw/w-d-xo.html
and to create record inside odoo: th-cam.com/video/KrVyiSoM1UY/w-d-xo.html
Thanks for the tutorial, can I use webhooks to create new records inside the "crm.lead" model?
I have tried to do it but have not been successful. I think it's because I don't know how the "Target Record" field works.
thanks again for the tutorial
You can create a record in any model!
I'd use python to make it a bit more exact. th-cam.com/video/RFojz__mO7M/w-d-xo.html
@@odoo-it-yourself can you help me out ? i receive json data in the webhook and then i wanna extract the data and create a new lead..
th-cam.com/video/KrVyiSoM1UY/w-d-xo.html