diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2008-08-24 16:45:43 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2008-08-24 16:45:43 +0200 |
| commit | 734fa421849257e7d9614800bcbe5bd585a56d17 (patch) | |
| tree | 75d51bfe58d48bfa1b8564d5367eea31d0c705f4 /addons/google_map/google_map.py | |
| parent | 1d5ade4b2275fa6cf696198dd44f0d177b4ee530 (diff) | |
added from extra-addons
bzr revid: fp@tinyerp.com-20080824144543-33o2j8ddmvaxx4ce
Diffstat (limited to 'addons/google_map/google_map.py')
| -rw-r--r-- | addons/google_map/google_map.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/addons/google_map/google_map.py b/addons/google_map/google_map.py new file mode 100644 index 00000000000..3d7a82902f7 --- /dev/null +++ b/addons/google_map/google_map.py @@ -0,0 +1,41 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Copyright (c) 2004-2006 TINY SPRL. (http://tiny.be) All Rights Reserved. +# +# WARNING: This program as such is intended to be used by professional +# programmers who take the whole responsability of assessing all potential +# consequences resulting from its eventual inadequacies and bugs +# End users who are looking for a ready-to-use solution with commercial +# garantees and support are strongly adviced to contract a Free Software +# Service Company +# +# This program is Free Software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + +from osv import fields,osv,orm + +class res_partner_address(osv.osv): + _description ='Partner Contact' + _name = 'res.partner.address' + _inherit = 'res.partner.address' + _columns = { +# 'google_map': fields.function(_get_url, method=True, +# string='Google Map', type='char',), + } +res_partner_address() +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + |
