From fa9726c1cb925334a7546ac52c8a56165de3fd70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 8 Apr 2022 19:07:13 +0200 Subject: [PATCH] Send only the required fields when fetching a readonly view definition issue11134 review380081002 --- purchase.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/purchase.py b/purchase.py index 1f4ba9df24..78d371efec 100644 --- a/purchase.py +++ b/purchase.py @@ -21,8 +21,6 @@ class PurchaseLine(AnalyticMixin, metaclass=PoolMeta): 'invisible': Eval('type') != 'line', 'readonly': Eval('purchase_state') != 'draft', } - cls.analytic_accounts.depends.extend( - ['type', 'purchase_state', 'purchase']) def get_invoice_line(self): pool = Pool()