Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to remove the residues of the followers

By
Dr Obx
on 9/25/15, 4:20 AM 584 views

Guys, how to remove all residues of the followers from database ?

Odoo not adding followers automatically anymore but still keeps some in database which is annoying if some people sending emails because Odoo adding recipients automatically because it's still have assigned followers to the account :(

Manually ?

I already tried to remove all mail.followers but it's not enough to stop sending messages to the other even if is only one recipient in address line, Odoo still adding extra recipients. Regardless if you add one it still sending message to the other people :(

What else should I check/remove to stop it ?

It drives me crazy ....

Tried some changes in mail.js but it still doing it ..... next I'll check will be mail_followers.js

Nobody tried to remove this crap form Odoo before ?

===================

Apparently problem solved. Before, Odoo was sending messages to the previously (before changes against automatic adding followers) added users/followers. So ... I was looking for the solution, how to remove followers and all this useless ..... things :)

Finally I'v made some changes in mail.message.py to stop sending messages to notified_partner_ids

<pre>

if message.author_id:

partner_ids |= set([message.author_id.id])

# if message.subtype_id and message.notified_partner_ids: # take notified people of message with a subtype

# partner_ids |= set([partner.id for partner in message.notified_partner_ids])

# elif not message.subtype_id and message.partner_ids: # take specified people of message without a subtype (log)

# partner_ids |= set([partner.id for partner in message.partner_ids])

if message.attachment_ids:

attachment_ids |= set([attachment.id for attachment in message.attachment_ids])

</pre>

and after that I see no more messages sent to the other people than recipient/s.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/25/15, 4:20 AM
Seen: 584 times
Last updated: 9/29/15, 6:28 AM