summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2014-09-10 17:25:56 +0200
committerDenis Ledoux <dle@odoo.com>2014-09-10 17:26:39 +0200
commit2684b7de4c883ff2ed05f60b083e4a539e08d5db (patch)
treed3dba0f9050fa8f1244e3edeacb25b133a38c5da /addons
parentc3c8276b0fa5bf980347c77a8eac73d613e25ee0 (diff)
[FIX] mail: alias domain should be fetch as superuser
as ir.config.parameter has limited access
Diffstat (limited to 'addons')
-rw-r--r--addons/mail/mail_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py
index 1da986e9cd5..0538ad7b7f8 100644
--- a/addons/mail/mail_thread.py
+++ b/addons/mail/mail_thread.py
@@ -105,7 +105,7 @@ class mail_thread(osv.AbstractModel):
model = context.get('empty_list_help_model')
res_id = context.get('empty_list_help_id')
ir_config_parameter = self.pool.get("ir.config_parameter")
- catchall_domain = ir_config_parameter.get_param(cr, uid, "mail.catchall.domain", context=context)
+ catchall_domain = ir_config_parameter.get_param(cr, SUPERUSER_ID, "mail.catchall.domain", context=context)
document_name = context.get('empty_list_help_document_name', _('document'))
alias = None