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.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py
index b307425337d..21b360a6b73 100644
--- a/addons/mail/models/mail_thread.py
+++ b/addons/mail/models/mail_thread.py
@@ -730,8 +730,11 @@ class MailThread(models.AbstractModel):
""" Get specific notification email values to store on the notification
mail_mail. Void method, inherit it to add custom values. """
self.ensure_one()
- res = dict()
- return res
+ 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-db-uuid': database_uuid
+ })}
# ------------------------------------------------------
# Mail gateway