From 2783c83c13cd1c1847d4e4900b1fac78ef4ebd4c Mon Sep 17 00:00:00 2001 From: "Sbh (OpenERP)" Date: Thu, 17 Feb 2011 17:03:43 +0530 Subject: [PATCH] [IMP] sync_google_contact: change name of method bzr revid: sbh@tinyerp.com-20110217113343-dvf53q348e8w6xan --- addons/sync_google_contact/wizard/google_contact_import.py | 2 +- .../sync_google_contact/wizard/google_contact_import_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sync_google_contact/wizard/google_contact_import.py b/addons/sync_google_contact/wizard/google_contact_import.py index f3589b9c050..79285b75280 100644 --- a/addons/sync_google_contact/wizard/google_contact_import.py +++ b/addons/sync_google_contact/wizard/google_contact_import.py @@ -35,7 +35,7 @@ class google_contact_import(osv.osv_memory): if 'password' in fields: res.update({'password': user_obj.gmail_password}) return res - def import_contact(self, cr, uid, ids, context=None): + def check_login_contact(self, cr, uid, ids, context=None): gd_client = self.check_login(cr, uid, ids, context=context) if not gd_client: raise osv.except_osv(_('Error'), _("Authication fail check the user and password !")) diff --git a/addons/sync_google_contact/wizard/google_contact_import_view.xml b/addons/sync_google_contact/wizard/google_contact_import_view.xml index 0c9149c2a4b..7e1fa5ca1b0 100644 --- a/addons/sync_google_contact/wizard/google_contact_import_view.xml +++ b/addons/sync_google_contact/wizard/google_contact_import_view.xml @@ -16,7 +16,7 @@