Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5945 Vizualizări

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?

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 15
3912
1
iul. 24
5848
0
feb. 20
2863
0
mar. 15
5904
8
iun. 24
37605