diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index feea6292e8f..7f30862be5f 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -1691,7 +1691,7 @@ class MailThread(models.AbstractModel): partner_to_subscribe = partner_ids if self._context.get('mail_post_autofollow_partner_ids'): partner_to_subscribe = filter(lambda item: item in self._context.get('mail_post_autofollow_partner_ids'), partner_ids) - self.message_subscribe(list(partner_to_subscribe)) + self.message_subscribe(list(partner_to_subscribe), force=False) # _mail_flat_thread: automatically set free messages to the first posted message MailMessage = self.env['mail.message'] @@ -1743,7 +1743,7 @@ class MailThread(models.AbstractModel): # done with SUPERUSER_ID, because on some models users can post only with read access, not necessarily write access self.sudo().write({'message_last_post': fields.Datetime.now()}) if new_message.author_id and model and self.ids and message_type != 'notification' and not self._context.get('mail_create_nosubscribe'): - self.message_subscribe([new_message.author_id.id]) + self.message_subscribe([new_message.author_id.id], force=False) return new_message @api.multi