[IMP] google_docs : changes for warning if google account not configured

bzr revid: rpr@tinyerp.com-20130403130054-4s77waguv2vp8ih0
This commit is contained in:
Rajesh Prajapati (OpenERP)
2013-04-03 18:30:54 +05:30
parent cc69f7e2e2
commit b25b6cb314
+1 -1
View File
@@ -82,7 +82,7 @@ class google_docs_ir_attachment(osv.osv):
#login gmail account
client = google_pool.google_login(user_config['user'], user_config['password'], type='docs_client', context=context)
if not client:
raise osv.except_osv(_('Google Docs Error!'), _("Check your google configuration in Users/Users/Synchronization tab."))
raise osv.except_osv(_('Google Drive Error!'), _("Check your google account configuration in Users/Users/Google Account."))
_logger.info('Logged into google docs as %s', user_config['user'])
return client