Přejít na obsah
Menu
This question has been flagged
1 Odpovědět
2916 Zobrazení

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.

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvc 25
2089
0
bře 24
1570
2
lis 16
5829
3
úno 16
16543
3
bře 15
9320