changeset 9a35c26a1fed in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=9a35c26a1fed
description:
Remove custom _Date class from ProductQuantitiesByWarehouse
It is useless and can be taken as a property.
issue8355
diffstat:
product.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r e4a56983f233 -r 9a35c26a1fed product.py
--- a/product.py Wed May 22 18:32:01 2019 +0200
+++ b/product.py Tue May 28 09:52:08 2019 +0200
@@ -335,6 +335,8 @@
date = _Date('Date')
quantity = fields.Function(fields.Float('Quantity'), 'get_quantity')
+ del _Date
+
@classmethod
def __setup__(cls):
super(ProductQuantitiesByWarehouse, cls).__setup__()