summaryrefslogtreecommitdiff
path: root/addons/mail/models/mail_thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/models/mail_thread.py')
-rw-r--r--addons/mail/models/mail_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py
index 3e07a89594b..e88024b17fc 100644
--- a/addons/mail/models/mail_thread.py
+++ b/addons/mail/models/mail_thread.py
@@ -763,7 +763,7 @@ class MailThread(models.AbstractModel):
self.ensure_one()
database_uuid = self.env['ir.config_parameter'].get_param('database.uuid')
return {'headers': repr({
- 'X-Odoo-Objects': "%s-%s" % (self._model, self.id),
+ 'X-Odoo-Objects': "%s-%s" % (self._name, self.id),
'X-Odoo-db-uuid': database_uuid
})}