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:
parent
a823139159
commit
d0a6e7f4e1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue