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

Are there any events triggered in the Odoo system? Say I want to develop a module that does somethign everytime a Task is created. I know I can extend/inherit the model, and hook into the "create" function. But that does not feel like the right way to do it. I was looking around the Odoo system for some event functionality to hook into. Something like Django signals.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi! Did you try the Automated Actions? With this feature you can automatically trigger actions on model based on a trigger condition. Go to Setting > Technical > Automation > Automated Actions.

P.S. If it's not available install the base_automation module first.

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 25
2090
0
มี.ค. 24
1571
2
พ.ย. 16
5832
3
ก.พ. 16
16544
3
มี.ค. 15
9323