تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3188 أدوات العرض

I need to send some data outside Odoo when a special event is triggered. For example, when an Order is created I would like to send a "post request" to external services where passed some data using python code. Which is the best approach for doing it?

 

الصورة الرمزية
إهمال
أفضل إجابة

You can create an API in the external services and then override the create function for the sale order and call the API while creating the order.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يوليو 22
1759
1
أغسطس 15
7936
0
يناير 24
1868
0
مارس 25
1575
1
يونيو 24
1722