diff --git a/openerp/addons/base/__openerp__.py b/openerp/addons/base/__openerp__.py index 109d576bcd7..5b357263569 100644 --- a/openerp/addons/base/__openerp__.py +++ b/openerp/addons/base/__openerp__.py @@ -23,7 +23,7 @@ { 'name': 'Base', - 'version': '1.4', + 'version': '1.3', 'category': 'Generic Modules/Base', 'complexity': "easy", 'description': """The kernel of OpenERP, needed for all installation.""", diff --git a/openerp/addons/base/migrations/1.4/post-user-address.py b/openerp/addons/base/migrations/1.4/post-user-address.py deleted file mode 100644 index bb6e2fa487e..00000000000 --- a/openerp/addons/base/migrations/1.4/post-user-address.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2011 OpenERP s.a. (). -# -# 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 . -# -############################################################################## - -def migrate(cr, version): - "copy emails from user.address_id.email to user.user_email" - cr.execute(""" - UPDATE res_users - SET user_email = res_partner_address.email - FROM res_partner_address - WHERE res_users.address_id = res_partner_address.id""") -