Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2931 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 25
2107
0
thg 3 24
1582
2
thg 11 16
5855
3
thg 2 16
16559
3
thg 3 15
9326