From 1f5d135e44ee35f5aad18177052162d1672faccb Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 18 Jul 2014 13:19:02 +0200 Subject: [PATCH] [FIX] web_linkedin: link (in) the config_parameter with the correct group --- addons/web_linkedin/web_linkedin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_linkedin/web_linkedin.py b/addons/web_linkedin/web_linkedin.py index 208f7ae8c04..8072d75c8cf 100644 --- a/addons/web_linkedin/web_linkedin.py +++ b/addons/web_linkedin/web_linkedin.py @@ -52,7 +52,7 @@ class web_linkedin_settings(osv.osv_memory): def set_linkedin(self, cr, uid, ids, context=None): key = self.browse(cr, uid, ids[0], context)["api_key"] or "" - self.pool.get("ir.config_parameter").set_param(cr, uid, "web.linkedin.apikey", key, groups=['base.group_users']) + self.pool.get("ir.config_parameter").set_param(cr, uid, "web.linkedin.apikey", key, groups=['base.group_user']) class web_linkedin_fields(osv.Model): _inherit = 'res.partner'