Remove OSV and WizardOSV
This commit is contained in:
1 parent
72a72894a5
commit
0886a4642b
2 files changed
+4
-4
No files matched your search
@@ -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)")
|
||||
|
||||
+2
-2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user