Remove OSV and WizardOSV

This commit is contained in:
Cédric Krier committed 2009-02-28 16:59:34 +01:00
1 parent cf564670c5
commit cd90a0d2be
1 file changed
+5 -4
+5 -4
View File
@@ -1,11 +1,12 @@
#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
#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.model import ModelView, ModelSQL, fields
STATES = {
'readonly': "active == False",
}
class Country(OSV):
class Country(ModelSQL, ModelView):
'Country'
_name = 'country.country'
_description = __doc__
@@ -61,7 +62,7 @@ class Country(OSV):
Country()
class Subdivision(OSV):
class Subdivision(ModelSQL, ModelView):
"Subdivision"
_name = 'country.subdivision'
_description = __doc__