Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5899 Tampilan

When a user clicks on the "Add follower" link the partner(s) needs to receive a message notifying him that he was added as a follower of the document. I'm not talking about email, I mean a mail.message.

Is there a built-in way to do this? If not, how can I go about implementing it? I thought about extending the wizard for adding followers to additionally create mail.notifications, would that be a good idea?

Avatar
Buang
Penulis Jawaban Terbai

I ended up inheriting the invite wizard and overriding the add_followers method.

Adding the partner id to the notified_follower_ids field in the mail.mail object automatically creates a notification for the specified partners.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 15
3845
Disable Followers Diselesaikan
1
Jul 24
4643
0
Feb 20
2818
0
Mar 15
5831
8
Jun 24
37481