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

        issue11134
        review380081002
diffstat:

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

diffs (12 lines):

diff -r d1a73b3fb757 -r b659074283ae purchase.py
--- a/purchase.py       Wed Apr 06 23:37:42 2022 +0200
+++ b/purchase.py       Fri Apr 08 19:07:13 2022 +0200
@@ -21,8 +21,6 @@
             '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()

Reply via email to