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
This commit is contained in:
apa-tiny 2008-11-07 10:38:10 +05:30
parent a823139159
commit d0a6e7f4e1
1 changed files with 2 additions and 2 deletions

View File

@ -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)