From f654b87e708c9d19ee4fc76fb0fd89ab738751ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 28 May 2019 09:52:08 +0200 Subject: [PATCH] Remove custom _Date class from ProductQuantitiesByWarehouse It is useless and can be taken as a property. issue8355 --- product.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product.py b/product.py index 49ef246dd2..e77a25ed6b 100644 --- a/product.py +++ b/product.py @@ -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__()