diff options
| author | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2013-06-04 11:59:48 +0530 |
|---|---|---|
| committer | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2013-06-04 11:59:48 +0530 |
| commit | ed3509568d0212a976344a626892bc56b666fd57 (patch) | |
| tree | f1bc24e3eccae3ea77c33f998f057fbd6371abb4 /addons/google_docs | |
| parent | 0784c33c381fd7c718c1209b9759e2611fc40af3 (diff) | |
[IMP] improve configuration warning and disription of the module
bzr revid: tpa@tinyerp.com-20130604062948-vi0j5pzi5s2agjp9
Diffstat (limited to 'addons/google_docs')
| -rw-r--r-- | addons/google_docs/__openerp__.py | 9 | ||||
| -rw-r--r-- | addons/google_docs/google_docs.py | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/addons/google_docs/__openerp__.py b/addons/google_docs/__openerp__.py index 6b7f28116ec..2536edb823b 100644 --- a/addons/google_docs/__openerp__.py +++ b/addons/google_docs/__openerp__.py @@ -41,11 +41,10 @@ ], 'depends': ['base_setup'], 'description': """ -Integrate Google document with OpenERP. -======================================= +Integrate google document to OpenERP record. +============================================ -This module is used to integrate google document to OpenERP record. - -You can configure google accounts from Settings > Users > Users. +This module allows you to integrate google documents to any of your OpenERP record quickly and easily using OAuth 2.0 for Installed Applications, +You can configure your google Authorization Code from Settings > Configuration > General Settings by clicking on "Generate Google Authorization Code" """ } diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 93274ba6d24..63a3a423a34 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -102,7 +102,7 @@ class config(osv.osv): attach_pool.create(cr, uid, attach_vals) res = content['alternateLink'] else: - raise self.pool.get('res.config.settings').get_config_warning(cr, _("You haven't configured 'Authorization Code' generated from google, Please generate and configure it in %%(menu:base_setup.menu_general_configuration)s."), context=context) + raise self.pool.get('res.config.settings').get_config_warning(cr, _("You haven't configured 'Authorization Code' generated from google, Please generate and configure it in %(menu:base_setup.menu_general_configuration)s."), context=context) return res def get_google_docs_config(self, cr, uid, res_model, res_id, context=None): |
