Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
2740 Представления

I have a form on an external website that I want to connect to Odoo. It has fields for name, phone, and email, and I would like to pass the registered information to the contacts tab in Odoo via a webhook. Is this possible? I followed a video and the documentation related to creating new records, but I couldn't do it since most of the content focused on updating records! 


Thank you.

Аватар
Отменить
Лучший ответ

Hi Lucas,

I've ran into the same problem and sadly the default Odoo isn't really great at it.
I started a discussion about this at https://github.com/odoo/odoo/pull/154408 where you can find more information about this. See specifically this point where Damien from Odoo explains a workaround to get this done: https://github.com/odoo/odoo/pull/154408#issuecomment-1948803722

So in essence: it works, with a bit of hacking, but the functionality is very limited..

Regards,
Yenthe


Аватар
Отменить
Лучший ответ

Hi,
Refer the blog: on how to create custom webhooks through python:

https://www.cybrosys.com/blog/how-to-use-odoo-16-webhooks-to-connect-external-systems

Hope it helps


Аватар
Отменить
Лучший ответ

Use this odoo plugin to send or receive data from external website

Link: "odoo_dynamic_webhooks"

Аватар
Отменить
Автор Лучший ответ

  If I run this code I created using model['res.partner'].search([], limit=1), will it be able to register a new contact, for example? I apologize if the question is simple or trivial, but I'm doing an internship at a company that opted for Odoo, and they assigned me to the API/code integration part. I know a bit of Python and enjoy learning, but it's not a skill I possess yet. 

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июл. 24
1221
0
дек. 24
675
2
авг. 24
2280
1
апр. 24
2756
7
июл. 24
3610