Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3001 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 25
2394
0
mar 24
1743
2
lis 16
5955
3
lut 16
16730
3
mar 15
9490