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

        issue11134
        review380081002
diffstat:

 dunning.py |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 0fd3ff13566d -r 52f611d9de44 dunning.py
--- a/dunning.py        Wed Apr 06 23:37:41 2022 +0200
+++ b/dunning.py        Fri Apr 08 19:07:12 2022 +0200
@@ -28,8 +28,7 @@
         states={
             'invisible': Eval('compute_method') != 'percentage',
             'required': Eval('compute_method') == 'percentage',
-            },
-        depends=['compute_method'])
+            })
 
     def get_amount(self, dunning):
         'Return fee amount and currency'

Reply via email to