[FIX] web_linkedin: link (in) the config_parameter with the correct group
authorChristophe Simonis <chs@odoo.com>
Fri, 18 Jul 2014 11:19:02 +0000 (13:19 +0200)
committerChristophe Simonis <chs@odoo.com>
Fri, 18 Jul 2014 11:19:02 +0000 (13:19 +0200)
addons/web_linkedin/web_linkedin.py

index 208f7ae..8072d75 100644 (file)
@@ -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'