From e1870a434e61ed0a508724e511684a294f51e7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 15 Aug 2012 23:01:49 +0200 Subject: [PATCH] [FIX] FIxed call to message_get_automatic_followers. bzr revid: tde@openerp.com-20120815210149-jujf2tv1hffm09g0 --- 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 59e33f3589c..43bddc204e1 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -174,7 +174,7 @@ class mail_thread(osv.Model): - followers given by the monitored fields """ thread_id = super(mail_thread, self).create(cr, uid, vals, context=context) - followers_command = self.message_get_automatic_followers(cr, uid, [], vals, fetch_missing=True, context=context) + followers_command = self.message_get_automatic_followers(cr, uid, thread_id, vals, fetch_missing=False, context=context) if followers_command: self.write(cr, uid, [thread_id], {'message_follower_ids': followers_command}, context=context) return thread_id