Remove OSV and WizardOSV

This commit is contained in:
Cédric Krier committed 2009-02-28 17:06:12 +01:00
1 parent beae2621b3
commit b4af78d898
2 files changed
+5 -7

No files matched your search

+3 -4
View File
@@ -1,10 +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 ProductLocation(OSV):
class ProductLocation(ModelSQL, ModelView):
'''
Product Location defines the default storage location
by warehouse for a product
@@ -28,7 +27,7 @@ class ProductLocation(OSV):
ProductLocation()
class PackingIn(OSV):
class PackingIn(ModelSQL, ModelView):
_name = 'stock.packing.in'
def _get_inventory_moves(self, cursor, user, incoming_move, context=None):
+2 -3
View File
@@ -1,10 +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 Product(OSV):
class Product(ModelSQL, ModelView):
_name = 'product.product'
locations = fields.One2Many('stock.product.location', 'product',