From 58f9903545caa3c0a8168ec249dbcf34aea99490 Mon Sep 17 00:00:00 2001 From: Vauxoo Date: Fri, 24 Feb 2012 13:48:16 -0530 Subject: [PATCH] [FIX] bug 940352 --- account_financial_report/report/account_balance.py | 4 ++-- account_financial_report/report/account_balance_2_cols.py | 4 ++-- account_financial_report/report/account_balance_4_cols.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/account_financial_report/report/account_balance.py b/account_financial_report/report/account_balance.py index 8f25dc0a..94d1d1b3 100644 --- a/account_financial_report/report/account_balance.py +++ b/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) diff --git a/account_financial_report/report/account_balance_2_cols.py b/account_financial_report/report/account_balance_2_cols.py index 62cdb0ea..2c140904 100644 --- a/account_financial_report/report/account_balance_2_cols.py +++ b/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) diff --git a/account_financial_report/report/account_balance_4_cols.py b/account_financial_report/report/account_balance_4_cols.py index e5a3ad98..f10f7d12 100644 --- a/account_financial_report/report/account_balance_4_cols.py +++ b/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)