From fb430f07e95c3cae1ff4bba0feea252e0a773f54 Mon Sep 17 00:00:00 2001 From: "Ujjvala Collins (OpenERP)" Date: Mon, 28 Feb 2011 18:08:47 +0530 Subject: [PATCH] [REM] sync_google_contact: Removed sync_base module and its dependancy from sync_google_contact. bzr revid: uco@tinyerp.com-20110228123847-nu1tt215zxvhfea9 --- .../google_base_account.py | 2 +- .../wizard/google_login.py | 2 +- addons/sync_base/__init__.py | 25 -------- addons/sync_base/__openerp__.py | 40 ------------ addons/sync_base/wizard/__init__.py | 24 -------- addons/sync_base/wizard/sync_base_view.xml | 40 ------------ addons/sync_base/wizard/synchronize_base.py | 61 ------------------- addons/sync_google_contact/__openerp__.py | 4 +- .../wizard/google_contact_import.py | 47 -------------- .../wizard/google_contact_import_view.xml | 20 ++++++ 10 files changed, 24 insertions(+), 241 deletions(-) delete mode 100644 addons/sync_base/__init__.py delete mode 100644 addons/sync_base/__openerp__.py delete mode 100644 addons/sync_base/wizard/__init__.py delete mode 100644 addons/sync_base/wizard/sync_base_view.xml delete mode 100644 addons/sync_base/wizard/synchronize_base.py diff --git a/addons/google_base_account/google_base_account.py b/addons/google_base_account/google_base_account.py index 98596fe77ca..eef2a54f7fb 100644 --- a/addons/google_base_account/google_base_account.py +++ b/addons/google_base_account/google_base_account.py @@ -19,7 +19,7 @@ # ############################################################################## -from osv import fields,osv,orm +from osv import fields,osv class res_users(osv.osv): _inherit = "res.users" diff --git a/addons/google_base_account/wizard/google_login.py b/addons/google_base_account/wizard/google_login.py index 5e9e3c43335..d1ed3a1ed6d 100644 --- a/addons/google_base_account/wizard/google_login.py +++ b/addons/google_base_account/wizard/google_login.py @@ -74,7 +74,7 @@ class google_login(osv.osv_memory): } self.pool.get('res.users').write(cr, uid, uid, res, context=context) except : - raise osv.except_osv(_('Error'), _("Authication fail check the user and password !")) + raise osv.except_osv(_('Error'), _("Authentication fail check the user and password !")) return self._get_next_action(cr, uid, context=context) diff --git a/addons/sync_base/__init__.py b/addons/sync_base/__init__.py deleted file mode 100644 index 2bad42af76c..00000000000 --- a/addons/sync_base/__init__.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -import sync_base -import wizard -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - diff --git a/addons/sync_base/__openerp__.py b/addons/sync_base/__openerp__.py deleted file mode 100644 index 9762267d1b1..00000000000 --- a/addons/sync_base/__openerp__.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - - -{ - 'name': 'Google Contact', - 'version': '1.0', - 'category': 'Generic Modules/Others', - 'description': """The module adds synchronization with multiple app """, - 'author': 'OpenERP SA', - 'website': 'http://www.openerp.com', - 'depends': ['base'], - 'init_xml': [], - 'update_xml': [ - 'wizard/sync_base_view.xml' - ], - 'demo_xml': [], - 'installable': True, - 'active': False, - 'certificate': '', -} -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sync_base/wizard/__init__.py b/addons/sync_base/wizard/__init__.py deleted file mode 100644 index 70b742b7f79..00000000000 --- a/addons/sync_base/wizard/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - -import synchronize_base - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/sync_base/wizard/sync_base_view.xml b/addons/sync_base/wizard/sync_base_view.xml deleted file mode 100644 index 1f8b16b94f6..00000000000 --- a/addons/sync_base/wizard/sync_base_view.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Synchronize contact - synchronize.base.contact.wizard.import - form - -
- - - - - - -