[IMP] import_google: improved information message
bzr revid: qdp-launchpad@openerp.com-20120629112011-fd5aoevje7f8m17t
This commit is contained in:
parent
9fa150527f
commit
17aa1cbdde
|
@ -130,7 +130,7 @@ class synchronize_google(osv.osv_memory):
|
||||||
raise osv.except_osv(_('Error'), _("Invalid login detail !\n Specify Username/Password."))
|
raise osv.except_osv(_('Error'), _("Invalid login detail !\n Specify Username/Password."))
|
||||||
|
|
||||||
if context.get('contact'):
|
if context.get('contact'):
|
||||||
msg = " You're Contact are import in background, a email will be send when the process is finished to %s"%(user_obj.gmail_user)
|
msg = " Your contacts are being imported in background, an email to %s will be sent when the process is over" % (user_obj.gmail_user)
|
||||||
gd_client = google.google_login(gmail_user, gmail_pwd, type='contact')
|
gd_client = google.google_login(gmail_user, gmail_pwd, type='contact')
|
||||||
if not gd_client:
|
if not gd_client:
|
||||||
raise osv.except_osv(_('Error'), _("Please specify correct user and password !"))
|
raise osv.except_osv(_('Error'), _("Please specify correct user and password !"))
|
||||||
|
|
Loading…
Reference in New Issue