diff options
| author | Raphael Collet <rco@openerp.com> | 2016-08-12 09:36:25 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-08-16 09:55:46 +0200 |
| commit | ffdafd3f8a6a18f2af9d5aa7f2446c299cb71967 (patch) | |
| tree | de82f81db7be5b64f9f4226aea31048f2089bf74 /addons/mail/models/mail_thread.py | |
| parent | 856f2e87e645db697a67fc85caae07bf0fe11d3f (diff) | |
[REM] most uses of `_model` (useless in most cases)
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 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 })} |
