From 8e2ea9a656431479408a4f258d8e172f699bd1ed Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 18 Oct 2011 19:31:09 +0200 Subject: [PATCH] [REVERT] rev.5399 had missing files and breaks tests bzr revid: odo@openerp.com-20111018173109-ul9jorop4khd09aj --- addons/google_map/__init__.py | 1 + addons/google_map/__openerp__.py | 4 +- addons/google_map/google_map.py | 32 +++++++++ addons/google_map/google_map_view.xml | 6 +- addons/google_map/google_map_wizard.xml | 12 ++++ addons/google_map/wizard/google_map_launch.py | 66 ++++++++++--------- 6 files changed, 85 insertions(+), 36 deletions(-) create mode 100644 addons/google_map/google_map.py create mode 100644 addons/google_map/google_map_wizard.xml diff --git a/addons/google_map/__init__.py b/addons/google_map/__init__.py index 1631b934faf..aa250662a11 100644 --- a/addons/google_map/__init__.py +++ b/addons/google_map/__init__.py @@ -19,6 +19,7 @@ # ############################################################################## +import google_map import wizard # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/google_map/__openerp__.py b/addons/google_map/__openerp__.py index 2dc0ab97163..423351a53ef 100644 --- a/addons/google_map/__openerp__.py +++ b/addons/google_map/__openerp__.py @@ -34,9 +34,7 @@ Using this you can directly open Google Map from the URL widget.""", 'images': ['images/google_map.jpeg'], 'depends': ['base'], 'init_xml': [], - 'update_xml': ['wizard/google_map_launch_view.xml', - 'google_map_view.xml', - ], + 'update_xml': ['google_map_wizard.xml', 'google_map_view.xml'], 'demo_xml': [], 'installable': True, 'active': False, diff --git a/addons/google_map/google_map.py b/addons/google_map/google_map.py new file mode 100644 index 00000000000..e8e22516db2 --- /dev/null +++ b/addons/google_map/google_map.py @@ -0,0 +1,32 @@ +# -*- 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 . +# +############################################################################## + +from osv import fields,osv,orm + +class res_partner_address(osv.osv): + _description ='Partner Contact' + _name = 'res.partner.address' + _inherit = 'res.partner.address' + _columns = { + } +res_partner_address() +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + diff --git a/addons/google_map/google_map_view.xml b/addons/google_map/google_map_view.xml index cd2648599dc..7909b271cd4 100644 --- a/addons/google_map/google_map_view.xml +++ b/addons/google_map/google_map_view.xml @@ -12,7 +12,7 @@