From ae436f9fa1eaef5c9010ae27198c8a6685b849c1 Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Tue, 20 Jul 2010 14:46:27 +0530 Subject: [PATCH] [Fix] account: Improve the layout of report bzr revid: sbh@tinyerp.com-20100720091627-0ekiktw86iyc1056 --- addons/account/report/account_journal.rml | 2 +- addons/account/report/general_ledger.rml | 4 +++- addons/account/report/general_ledger_landscape.rml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/account/report/account_journal.rml b/addons/account/report/account_journal.rml index 178126e2c65..ee720c04860 100644 --- a/addons/account/report/account_journal.rml +++ b/addons/account/report/account_journal.rml @@ -124,7 +124,7 @@ - + diff --git a/addons/account/report/general_ledger.rml b/addons/account/report/general_ledger.rml index c856c9ad6e1..bbb10a449ec 100644 --- a/addons/account/report/general_ledger.rml +++ b/addons/account/report/general_ledger.rml @@ -220,10 +220,11 @@ [[ repeatIn(objects, 'a') ]] - + Chat Account Fiscal Year + Journals Display Account Filters By [[ get_filter(data)!='No Filter' and '' or removeParentNode('font') ]][[ get_filter(data) ]] Entries Sorted By @@ -232,6 +233,7 @@ [[ get_account(data) or removeParentNode('para') ]] [[ get_fiscalyear(data) or removeParentNode('para') ]] + [[', '.join([ lt or '' for lt in get_journal(data) ]) ]] [[ (data['form']['display_account']=='all' and 'All') or (data['form']['display_account']=='mouvement' and 'With movements') or 'With balance is not equal to 0']] [[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]] [[ get_filter(data)=='Date' or removeParentNode('blockTable') ]] diff --git a/addons/account/report/general_ledger_landscape.rml b/addons/account/report/general_ledger_landscape.rml index 9ab73d52c35..2f0cf030044 100644 --- a/addons/account/report/general_ledger_landscape.rml +++ b/addons/account/report/general_ledger_landscape.rml @@ -242,7 +242,7 @@ [[ get_account(data) or removeParentNode('para') ]] [[ get_fiscalyear(data) or removeParentNode('para') ]] - [[', '.join([ lt or '' for lt in get_journal(data['form']['journal_ids']) ]) ]] + [[', '.join([ lt or '' for lt in get_journal(data) ]) ]] [[ (data['form']['display_account']=='bal_all' and 'All') or (data['form']['display_account']=='bal_mouvement' and 'With movements') or 'With balance is not equal to 0']] [[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]]