[FIX] bug 940352

6.0
Vauxoo 2012-02-24 13:48:16 -05:30 committed by Miguel Delgado
parent ca36468f69
commit 58f9903545
3 changed files with 6 additions and 6 deletions

View File

@ -283,11 +283,11 @@ class account_balance(report_sxw.rml_parse):
# Check whether we must include this line in the report or not
#
if form['display_account'] == 'bal_mouvement' and account['parent_id']:
if form['display_account'] == 'con_movimiento' and account['parent_id']:
# Include accounts with movements
if abs(res['balance']) >= 0.5 * 10**-int(2):
result_acc.append(res)
elif form['display_account'] == 'bal_solde' and account['parent_id']:
elif form['display_account'] == 'con_balance' and account['parent_id']:
# Include accounts with balance
if abs(res['balance']) >= 0.5 * 10**-int(2):
result_acc.append(res)

View File

@ -300,11 +300,11 @@ class account_balance(report_sxw.rml_parse):
# Check whether we must include this line in the report or not
#
if form['display_account'] == 'bal_mouvement' and account['parent_id']:
if form['display_account'] == 'con_movimiento' and account['parent_id']:
# Include accounts with movements
if abs(res['balance']) >= 0.5 * 10**-int(2):
result_acc.append(res)
elif form['display_account'] == 'bal_solde' and account['parent_id']:
elif form['display_account'] == 'con_balance' and account['parent_id']:
# Include accounts with balance
if abs(res['balance']) >= 0.5 * 10**-4:
result_acc.append(res)

View File

@ -300,11 +300,11 @@ class account_balance(report_sxw.rml_parse):
# Check whether we must include this line in the report or not
#
if form['display_account'] == 'bal_mouvement' and account['parent_id']:
if form['display_account'] == 'con_movimiento' and account['parent_id']:
# Include accounts with movements
if abs(res['balance']) >= 0.5 * 10**-int(2):
result_acc.append(res)
elif form['display_account'] == 'bal_solde' and account['parent_id']:
elif form['display_account'] == 'con_balance' and account['parent_id']:
# Include accounts with balance
if abs(res['balance']) >= 0.5 * 10**-4:
result_acc.append(res)