diff --git a/addons/mail/data/mail_group_data.xml b/addons/mail/data/mail_group_data.xml index 97a1eb59cc4..6cb2bec6ab1 100644 --- a/addons/mail/data/mail_group_data.xml +++ b/addons/mail/data/mail_group_data.xml @@ -8,7 +8,9 @@ Sales + All Employees diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 31a13da785c..23370e63e9c 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -165,7 +165,7 @@ class mail_thread(osv.Model): body = new_msg_vals.get('body_html', '') if new_msg_vals.get('content_subtype') == 'html' else new_msg_vals.get('body_text', '') # get subscribers - user_sub_ids = self.message_get_subscribers(cr, uid, thread_ids, True, context=context) + user_sub_ids = self.message_get_subscribers(cr, uid, thread_ids, context=context) # get hiden subscriptions subscription_ids = subscription_obj.search(cr, uid, [('res_model', '=', self._name), ('res_id', 'in', thread_ids), ('user_id', 'in', user_sub_ids)], context=context)