Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
8037 มุมมอง

Hi everyone

I am new to Odoo and am looking for a way to call my custom API endpoint if a model changes. I looked into automated server actions but the only things I can do is send an email or call custom python code. It doesn't look like I can invoke a request inside the custom python code.

How can I implement/add this feature? If possible (no worries if not), could you point me to development documentation? I'm really new to this so any extra information is much appreciated!

Kind regards

Sam

อวตาร
ละทิ้ง

hope these tips will solve your problem: https://sites.google.com/view/thinkincode/erp/odoo

คำตอบที่ดีที่สุด

Can you override the write method and insert your code before/after the standard write method is called?

https://www.odoo.com/forum/help-1/question/v9-how-to-inherit-write-function-92397

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ส.ค. 20
10426
0
ก.ค. 17
3172
0
มี.ค. 24
2064
HTTP Request on Server Action แก้ไขแล้ว
4
ก.ย. 21
10709
0
มิ.ย. 19
3862