From 0886a4642b8aefc09ff234cf96e98b87876fce06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 28 Feb 2009 17:00:52 +0100 Subject: [PATCH] Remove OSV and WizardOSV --- move.py | 4 ++-- product.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/move.py b/move.py index c6cba9661f..dba1fdd977 100644 --- a/move.py +++ b/move.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 -class Move(OSV): +class Move(ModelSQL, ModelView): _name = 'stock.move' fifo_quantity = fields.Float('FIFO Quantity', digits="(16, unit_digits)") diff --git a/product.py b/product.py index cbd7a62a30..eff6ab385b 100644 --- a/product.py +++ b/product.py @@ -1,11 +1,11 @@ #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 copy import datetime -class Template(OSV): +class Template(ModelSQL, ModelView): _name = "product.template" def __init__(self):