Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2915 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
heinäk. 25
2089
0
maalisk. 24
1570
2
marrask. 16
5829
3
helmik. 16
16543
3
maalisk. 15
9320