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

I'm looking for the code that when you change the user the task is assigned to it adds that user to followers of the task. I need to extend it that it gives that user more subtypes to be notified about.


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

Hi,  

There is a method named message_subscribe, i think this is the method for that.i am not sure please check it.refer the function message_subscribe in mail.thread model

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks! So because project.task inherits the mail.thread module I could just override the method in my custom module?

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 20
3180
3
thg 1 19
9147
1
thg 8 17
5469
2
thg 10 24
5828
7
thg 12 18
5950