From ee6938f7945964fe3fb7f42131e673fdb301a831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 31 Jan 2013 13:17:01 +0100 Subject: [PATCH] [FIX] mail gateway: auto_subscribe is always enabled currently, because of leads created usign the mailgateway by-passing the salesteam and user_id auto followers. bzr revid: tde@openerp.com-20130131121701-eydjfrukxqq246ey --- addons/mail/mail_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 5ac69eef489..9d7237ca907 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -243,7 +243,7 @@ class mail_thread(osv.AbstractModel): # subscribe uid unless asked not to if not context.get('mail_create_nosubscribe'): self.message_subscribe_users(cr, uid, [thread_id], [uid], context=context) - self.message_auto_subscribe(cr, uid, [thread_id], values.keys(), context=context) + self.message_auto_subscribe(cr, uid, [thread_id], values.keys(), context=context) # automatic logging unless asked not to (mainly for various testing purpose) if not context.get('mail_create_nolog'):