From 99bd044f4c7d6faf7222de8d3c84fc0b81ceab6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 28 Feb 2009 17:05:18 +0100 Subject: [PATCH] Remove OSV and WizardOSV --- stock.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/stock.py b/stock.py index bdc2ffbbb5..b0d5b322b0 100644 --- a/stock.py +++ b/stock.py @@ -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"})