diff --git a/addons/web_linkedin/__openerp__.py b/addons/web_linkedin/__openerp__.py index 0e9503ac579..6ce78cfca47 100644 --- a/addons/web_linkedin/__openerp__.py +++ b/addons/web_linkedin/__openerp__.py @@ -10,7 +10,7 @@ OpenERP Web LinkedIn module. This module provides the Integration of the LinkedIn with OpenERP. """, 'data': ['web_linkedin_view.xml'], - 'depends' : ['base'], + 'depends' : ['crm'], 'js': ['static/src/js/*.js'], 'css': ['static/src/css/*.css'], 'qweb': ['static/src/xml/*.xml'], diff --git a/addons/web_linkedin/web_linkedin.py b/addons/web_linkedin/web_linkedin.py index c398ad17f3b..ea94329f8b1 100644 --- a/addons/web_linkedin/web_linkedin.py +++ b/addons/web_linkedin/web_linkedin.py @@ -39,8 +39,7 @@ class Binary(openerpweb.Controller): return base64.b64encode(bfile.read()) class web_linkedin_settings(osv.osv_memory): - _name = 'web_linkedin.settings' - _inherit = 'res.config.settings' + _inherit = 'sale.config.settings' _columns = { 'api_key': fields.char(string="API Key", size=50), 'server_domain': fields.char(size=100), diff --git a/addons/web_linkedin/web_linkedin_view.xml b/addons/web_linkedin/web_linkedin_view.xml index 463bfd49d21..8b4fa617bf3 100644 --- a/addons/web_linkedin/web_linkedin_view.xml +++ b/addons/web_linkedin/web_linkedin_view.xml @@ -15,48 +15,34 @@ linkedin_settings - web_linkedin.settings + sale.config.settings + -
-
-
-

- To use the LinkedIn module with this database, an API Key is required. Please follow this procedure: -

-
    -
  • Go to this URL: - https://www.linkedin.com/secure/developer. -
  • -
  • Log into LinkedIn.
  • -
  • Add a new application and fill the form: -
      -
    • JavaScript API Domain:
    • -
    • The programming tool is Javascript
    • -
    -
  • -
  • Copy the API key down here:
  • -
- - - -
+
+
+

+ To use the LinkedIn module with this database, an API Key is required. Please follow this procedure: +

+
    +
  • Go to this URL: + https://www.linkedin.com/secure/developer. +
  • +
  • Log into LinkedIn.
  • +
  • Add a new application and fill the form: +
      +
    • JavaScript API Domain:
    • +
    • The programming tool is Javascript
    • +
    +
  • +
  • Copy the API key down here:
  • +
+ + + +
+
- - - Configure Linkedin - ir.actions.act_window - web_linkedin.settings - form - inline - - - -