changeset 19e462b51a28 in modules/product_price_list_dates:default
details: 
https://hg.tryton.org/modules/product_price_list_dates?cmd=changeset&node=19e462b51a28
description:
        Send only the required fields when fetching a readonly view definition

        issue11134
        review380081002
diffstat:

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

diffs (22 lines):

diff -r c9679aaeb198 -r 19e462b51a28 product.py
--- a/product.py        Wed Apr 06 23:37:43 2022 +0200
+++ b/product.py        Fri Apr 08 19:07:13 2022 +0200
@@ -31,16 +31,14 @@
             If(Eval('start_date') & Eval('end_date'),
                 ('start_date', '<=', Eval('end_date')),
                 ()),
-            ],
-        depends=['end_date'])
+            ])
     end_date = fields.Date(
         "End Date",
         domain=[
             If(Eval('start_date') & Eval('end_date'),
                 ('end_date', '>=', Eval('start_date')),
                 ()),
-            ],
-        depends=['start_date'])
+            ])
 
     def match(self, pattern):
         pool = Pool()

Reply via email to