跳至内容
菜单
此问题已终结
1 回复
5944 查看

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
3910
1
7月 24
5726
0
2月 20
2859
0
3月 15
5898
8
6月 24
37598