[FIX] bug 940352
parent
ca36468f69
commit
58f9903545
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue