İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1254 Görünümler

hello everyone i am working on integration of odoo with external system the flow is basically is that when ever an event is occur in the external system it will send some field value to odoo it will be prcossed through multiple module in odoo after the final conclusion the data will be sent back to the external system.
actually i want by which method i should implement that like webhooks, endpoint, custom controller or any other method you suggest.

Avatar
Vazgeç
En İyi Yanıt

You can use custom controller with a custom endpoint. Also, in an external system, when an event is occurring, if you are using Python, you can use 'requests' to call the custom controller, or if you are using JS, then you can use 'fetch' for that. 


For python: 

requests.post (CUSTOM_CONTROLLER_ENDPOINT, Some values ​​in dictionary form)


For JS:

fetch(CUSTOM_CONTROLLER_ENDPOINT + some values ​​in url key-value pair)

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Kas 24
2086
1
Ağu 25
3631
3
Mar 25
2755
0
Mar 25
1287
1
Şub 25
5298