Send only the required fields when fetching a readonly view definition

issue11134
review380081002
This commit is contained in:
Nicolas Évrard
2022-04-08 19:07:13 +02:00
parent fad910f07d
commit deefb9fdc3
-2
View File
@@ -29,8 +29,6 @@ class Cron(metaclass=PoolMeta):
('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: