Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2826 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
iul. 25
1811
0
mar. 24
1464
2
nov. 16
5676
3
feb. 16
16405
3
mar. 15
9160