From d0a6e7f4e14335b0fd620d520000cf99603feb05 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Fri, 7 Nov 2008 10:38:10 +0530 Subject: [PATCH] but the filter we have "With Balance != 0" or "With Movements", is still returning the same result in the printed pdf==Solved bzr revid: patelamit2003@gmail.com-20081107050810-5t45a7cz3xvy3x5h --- addons/account/report/account_balance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/report/account_balance.py b/addons/account/report/account_balance.py index d26c116a9e6..a0aef896250 100755 --- a/addons/account/report/account_balance.py +++ b/addons/account/report/account_balance.py @@ -169,10 +169,10 @@ class account_balance(report_sxw.rml_parse): if form['display_account'] == 'bal_mouvement': - if res['credit'] >= 0 or res['debit'] >= 0 or res['balance'] >= 0 : + if res['credit'] > 0 or res['debit'] > 0 or res['balance'] > 0 : result_acc.append(res) elif form['display_account'] == 'bal_solde': - if res['balance'] >= 0: + if res['balance'] > 0: result_acc.append(res) else: result_acc.append(res)