diff --git a/address.py b/address.py index 8e6a84b6d4..10356a5c50 100644 --- a/address.py +++ b/address.py @@ -1,9 +1,9 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. -from trytond.osv import fields, OSV +from trytond.model import ModelView, ModelSQL, fields import urllib -class Address(OSV): +class Address(ModelSQL, ModelView): _name = 'party.address' google_maps_url = fields.Function('get_google_maps_url', type="char",