From 6fc2a54dcdd33941d2fc19011f8df69024a324dc Mon Sep 17 00:00:00 2001 From: "Jiten (OpenERP)" Date: Fri, 29 Jun 2012 15:28:09 +0530 Subject: [PATCH] [IMP] Improved general setting wizard for api key of linkedin. bzr revid: jra@tinyerp.com-20120629095809-tb4uazsf3xg3wg4e --- addons/web_linkedin/res_config.py | 3 ++- addons/web_linkedin/res_config_view.xml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/web_linkedin/res_config.py b/addons/web_linkedin/res_config.py index 050badae498..bc3ffa639f1 100644 --- a/addons/web_linkedin/res_config.py +++ b/addons/web_linkedin/res_config.py @@ -27,6 +27,7 @@ class base_config_settings(osv.osv_memory): _columns = { 'default_linkedin_api_key': fields.char('LinkedIn API key', size=128, default_model='res.company', help="""Give API key of linkedin."""), + 'import_contact': fields.boolean('Import Your Contact from Linkedin'), 'generate_key': fields.text('Go to URL', readonly=True, help="""If you have not generate linkedin API Key yet than Go to URL to generate and enter it in above text field."""), } @@ -38,7 +39,7 @@ class base_config_settings(osv.osv_memory): "\n - JavaScript API Domain is Your domain name (e.g. https://yourcompany.my.openerp.com),"\ "\n - You can give multiple domain (e.g. yourcompany.my.openerp.com),"\ "\n - programming tools is Javascript"\ - '\n* Copy the "API Key" and paste it in the field "LinkedIn API Key" here above".' + '\n* Copy the "API Key" and paste it in the field "LinkedIn API Key" here above.' } def execute(self, cr, uid, ids, context=None): diff --git a/addons/web_linkedin/res_config_view.xml b/addons/web_linkedin/res_config_view.xml index e01205db681..45c59c9ef45 100644 --- a/addons/web_linkedin/res_config_view.xml +++ b/addons/web_linkedin/res_config_view.xml @@ -11,6 +11,8 @@ + +