Remove OSV and WizardOSV

This commit is contained in:
Cédric Krier
2009-02-28 17:05:18 +01:00
parent 054a94302f
commit 99bd044f4c
+2 -5
View File
@@ -1,12 +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.wizard import Wizard, WizardOSV
import datetime
from trytond.model import ModelView, ModelSQL, fields
class Location(OSV):
class Location(ModelSQL, ModelView):
"Stock Location"
_name = 'stock.location'
sequence = fields.Integer('Sequence', states= {'readonly': "not active"})