From 984a1c104e617bd63ba2a72fab3d1381998fdc54 Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Wed, 14 Jul 2010 18:55:25 +0530 Subject: [PATCH] [IMP] account: Improve the account_balance,general_ledger report bzr revid: sbh@tinyerp.com-20100714132525-jdfllyy3zccuy6o1 --- addons/account/report/account_balance.rml | 2 +- addons/account/report/general_ledger.rml | 15 ++++++--------- .../account/report/general_ledger_landscape.rml | 8 ++++---- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/addons/account/report/account_balance.rml b/addons/account/report/account_balance.rml index 3434c649a49..9629c5a3095 100644 --- a/addons/account/report/account_balance.rml +++ b/addons/account/report/account_balance.rml @@ -212,7 +212,7 @@ - [[ get_fiscalyear(data['form']) ]] + [[ get_fiscalyear(data) ]] [[ data['form']['date_from'] ]] diff --git a/addons/account/report/general_ledger.rml b/addons/account/report/general_ledger.rml index 1826d94019f..e4c1744c907 100644 --- a/addons/account/report/general_ledger.rml +++ b/addons/account/report/general_ledger.rml @@ -201,23 +201,20 @@ [[ data['form']['date_from'] ]] [[ data['form']['date_to'] ]] - [[ get_fiscalyear(data['form']) ]] + [[ get_fiscalyear(data) ]] [[ data['form']['sortby'] ]] - [[ get_account(data['form']) ]] - [[ get_start_period(data['form']) or removeParentNode('para') ]] - [[ get_end_period(data['form']) or removeParentNode('para') ]] + [[ get_account(data) ]] + [[ get_start_period(data) or removeParentNode('para') ]] + [[ get_end_period(data) or removeParentNode('para') ]] [[ data['form']['filter'] ]] [[ formatLang(time.strftime('%Y-%m-%d %H:%M:%S'),date_time = True) ]] - + - - - - + diff --git a/addons/account/report/general_ledger_landscape.rml b/addons/account/report/general_ledger_landscape.rml index dd7ab1878d9..18066fdbcbe 100644 --- a/addons/account/report/general_ledger_landscape.rml +++ b/addons/account/report/general_ledger_landscape.rml @@ -205,11 +205,11 @@ [[ data['form']['date_from'] ]] [[ data['form']['date_to'] ]] - [[ get_fiscalyear(data['form']) ]] + [[ get_fiscalyear(data) ]] [[ data['form']['sortby'] ]] - [[ get_account(data['form']) ]] - [[ get_start_period(data['form']) or removeParentNode('para') ]] - [[ get_end_period(data['form']) or removeParentNode('para') ]] + [[ get_account(data) ]] + [[ get_start_period(data) or removeParentNode('para') ]] + [[ get_end_period(data) or removeParentNode('para') ]] [[ data['form']['filter'] ]] [[ formatLang(time.strftime('%Y-%m-%d %H:%M:%S'),date_time = True) ]]