コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6135 ビュー

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?

アバター
破棄
著作者 最善の回答

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.

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 15
4156
1
7月 24
9223
0
2月 20
3035
0
3月 15
6153
8
6月 24
38044