changeset 14efcce5d82c in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset;node=14efcce5d82c
description:
        Hide closed accounts from balance sheet detail

        issue9409
        review307811002
diffstat:

 account.xml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d93f693d2df1 -r 14efcce5d82c account.xml
--- a/account.xml       Mon Jul 13 21:19:44 2020 +0200
+++ b/account.xml       Mon Jul 20 16:53:44 2020 +0200
@@ -364,7 +364,7 @@
                 eval="[('company', '=', Eval('company', -1))]"
                 pyson="1"/>
             <field name="domain"
-                eval="[['OR', ('type', 'child_of', Eval('active_id'), 
'parent'), ('debit_type', 'child_of', Eval('active_id'), 'parent')], ('type', 
'!=', None)]"
+                eval="[['OR', ('type', 'child_of', Eval('active_id'), 
'parent'), ('debit_type', 'child_of', Eval('active_id'), 'parent')], ('type', 
'!=', None), ('closed', '!=', True)]"
                 pyson="1"/>
         </record>
         <record model="ir.action.act_window.view" id="act_account_list2_view1">

Reply via email to