diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-02-17 18:07:21 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-02-17 18:07:21 +0100 |
| commit | 60c9cac46b0f32069a6763c3bf0b9e3a64d90e7d (patch) | |
| tree | 4a234008ac69f9b573efc310f93e7a2ac850bce0 /addons/mail/models/mail_thread.py | |
| parent | 4ecba34944e04e8be88e2588407dd84fc24bbe0a (diff) | |
| parent | 87a01c75ef1dde98bc31f714d8ac4b2ea598e316 (diff) | |
[MERGE] forward port of branch saas-9 up to 87a01c7
Diffstat (limited to 'addons/mail/models/mail_thread.py')
| -rw-r--r-- | addons/mail/models/mail_thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py index 124c1409e1b..57366d046ae 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -1875,7 +1875,7 @@ class MailThread(models.AbstractModel): gen, part = self.env['mail.followers']._add_follower_command(self._name, self.ids, partner_data, channel_data, force=force) self.sudo().write({'message_follower_ids': gen}) for record in self.filtered(lambda self: self.id in part): - record.write(part[record.id]) + record.write({'message_follower_ids': part[record.id]}) self.invalidate_cache() return True |
