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

        issue11134
        review380081002
diffstat:

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

diffs (12 lines):

diff -r 73e1c45ccd00 -r 827550540929 currency.py
--- a/currency.py       Wed Apr 06 23:37:42 2022 +0200
+++ b/currency.py       Fri Apr 08 19:07:13 2022 +0200
@@ -29,8 +29,6 @@
                 ('code', '=', 'RON'),
                 ()),
             ]
-        if 'source' not in cls.currency.depends:
-            cls.currency.depends.append('source')
 
     def fetch_bnr_ro(self, date):
         if (dt.date.today() - date).days < 10:

Reply via email to