diff options
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 6bc7cbffbe0..14fdc651323 100644 --- a/addons/mail/models/mail_thread.py +++ b/addons/mail/models/mail_thread.py @@ -787,7 +787,7 @@ 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() - database_uuid = self.env['ir.config_parameter'].get_param('database.uuid') + database_uuid = self.env['ir.config_parameter'].sudo().get_param('database.uuid') return {'headers': repr({ 'X-Odoo-Objects': "%s-%s" % (self._name, self.id), 'X-Odoo-db-uuid': database_uuid |
