تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3437 أدوات العرض

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.


الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
نوفمبر 20
3320
3
يناير 19
9361
1
أغسطس 17
5638
2
أكتوبر 24
6095
7
ديسمبر 18
6143