changeset 6d018385bebb in modules/stock:5.0
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=6d018385bebb
description:
        Remove custom _Date class from ProductQuantitiesByWarehouse

        It is useless and can be taken as a property.

        issue8355
        (grafted from 9a35c26a1fed6eff647b5f624358cfe831bde664)
diffstat:

 product.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r ab8f8e76535c -r 6d018385bebb product.py
--- a/product.py        Wed May 22 18:31:21 2019 +0200
+++ b/product.py        Tue May 28 09:52:08 2019 +0200
@@ -332,6 +332,8 @@
     date = _Date('Date')
     quantity = fields.Function(fields.Float('Quantity'), 'get_quantity')
 
+    del _Date
+
     @classmethod
     def __setup__(cls):
         super(ProductQuantitiesByWarehouse, cls).__setup__()

Reply via email to