Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6118 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
бер. 15
4138
Disable Followers Вирішено
1
лип. 24
8959
0
лют. 20
3028
0
бер. 15
6149
8
черв. 24
38014