Remove custom _Date class from ProductQuantitiesByWarehouse
It is useless and can be taken as a property. issue8355
This commit is contained in:
1 parent
6764b81c88
commit
f654b87e70
1 file changed
+2
@@ -335,6 +335,8 @@ class ProductQuantitiesByWarehouse(ModelSQL, ModelView):
|
||||
date = _Date('Date')
|
||||
quantity = fields.Function(fields.Float('Quantity'), 'get_quantity')
|
||||
|
||||
del _Date
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(ProductQuantitiesByWarehouse, cls).__setup__()
|
||||
|
||||
Reference in new issue
Block a user