[IMP] improve configuration warning and disription of the module
bzr revid: tpa@tinyerp.com-20130604062948-vi0j5pzi5s2agjp9
This commit is contained in:
parent
0784c33c38
commit
ed3509568d
|
@ -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"
|
||||
"""
|
||||
}
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue