From 45ffeba90fe9ec2cdeeaf88f728dd56ade84e08a Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Mon, 19 Jul 2010 10:43:45 +0530 Subject: [PATCH] [IMP] account :Improve the account_balance report bzr revid: sbh@tinyerp.com-20100719051345-840d9kdr28r8dn54 --- addons/account/report/account_balance.rml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/account/report/account_balance.rml b/addons/account/report/account_balance.rml index 3ac06d846ed..ee8a0e47d66 100644 --- a/addons/account/report/account_balance.rml +++ b/addons/account/report/account_balance.rml @@ -233,7 +233,7 @@ [[ get_account(data) or removeParentNode('para') ]] [[ get_fiscalyear(data) or removeParentNode('para') ]] [[', '.join([ lt or '' for lt in get_journal(data['form']['journal_ids']) ]) ]] - [[ (data['form']['display_account']=='bal_all' and 'All') or (data['form']['display_account']=='bal_mouvement' and 'With movements') or 'With balance is not equal to 0']] + [[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]] [[ get_filter(data)=='Date' or removeParentNode('blockTable') ]] @@ -256,6 +256,7 @@ + [[ (data['form']['display_account']=='bal_all' and 'All') or (data['form']['display_account']=='bal_mouvement' and 'With movements') or 'With balance is not equal to 0']] [[ formatLang(time.strftime('%Y-%m-%d %H:%M:%S'), date_time = True) ]]