Odoo Help

0

Don't automatically follow every task

By
A. Person
on 3/29/16, 4:52 PM 471 views

My Odoo user automatically follows every task that is created and it fills up my inbox.  How can I prevent this?

0
Fabrice Henrion (fhe)
On 3/29/16, 11:20 PM

If you are following the project in which the tasks are created, then that's the reason why you are being added as a follower of every task. If you want to avoid that, just unfollow the project.

0
David Todd
On 3/29/16, 5:51 PM

Hi, 

This might not be super helpful to you, but I found a solution similar when I was working with res.partner. 

My solution was to basically throw jQuery at the problem when we had users that would keep making companies follow themselves (among other things) 

// Hijack the confirm dialog box to be returned later

oconfirm = confirm;

confirm = function() {

//console.log.apply(console, arguments);

return true;

};

$('[data-fullname*="'+$('h1 .oe_form_field > .oe_form_char_content').text()+'"]').attr('checked', false); // Uncheck email for this company

$('.o_mail_redirect[title="'+$('h1 .oe_form_field > .oe_form_char_content').text()+'"]').parent().children('.o_remove_follower').trigger('click'); // Make this company unfollow itself

for(var i=0;i<names.length;i++){ // For each contact in company that follows, make them unfollow as well

$('.o_mail_redirect[title="'+names[i]+'"]').parent().children('.o_remove_follower').trigger('click');

}

confirm = oconfirm;


Now this is just a snippet and will probably not work for you, but might point you in the same direction I was headed. I suggest using your web browser's development features and technical mode in Odoo to be able to figure out the exact classes you would need to use for Tasks.


As an aside,  Navigating to Settings -> Technical -> Email -> Followers contains a list of all of those relations. Simply searching Related Partner contains your name will give you the ability to select what you don't want to follow and delete the relation

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/29/16, 4:52 PM
Seen: 471 times
Last updated: 3/29/16, 11:20 PM