Browse Source

[FIX] bug 940352

6.0
Vauxoo 12 years ago
committed by Miguel Delgado
parent
commit
58f9903545
  1. 4
      account_financial_report/report/account_balance.py
  2. 4
      account_financial_report/report/account_balance_2_cols.py
  3. 4
      account_financial_report/report/account_balance_4_cols.py

4
account_financial_report/report/account_balance.py

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

4
account_financial_report/report/account_balance_2_cols.py

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

4
account_financial_report/report/account_balance_4_cols.py

@ -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…
Cancel
Save