From 41fa997f3f7b1746506dbec5b30fb4ec2de80db9 Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Tue, 27 Jul 2010 18:04:13 +0530 Subject: [PATCH] [Fix]: Fix the balance_sheet report bzr revid: sbh@tinyerp.com-20100727123413-4e75je7p4g0jih5b --- .../report_balance_sheet_horizontal.rml | 28 ++++++------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/addons/account/report/report_balance_sheet_horizontal.rml b/addons/account/report/report_balance_sheet_horizontal.rml index 3b8cc22c1ba..ae03c8ad9e0 100644 --- a/addons/account/report/report_balance_sheet_horizontal.rml +++ b/addons/account/report/report_balance_sheet_horizontal.rml @@ -3,19 +3,7 @@ @@ -203,7 +191,7 @@ Chart of Account Fiscal Year Journals - Filters By [[ get_filter(data)!='No Filter' and '' or removeParentNode('font') ]] + Filters By [[ get_filter(data)!='No Filter' and get_filter(data) ]] Display Account Printing Date @@ -267,19 +255,19 @@ - [[ repeatIn(get_lines(), 'a') ]] [[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) ]][[ a['code'] ]] + [[ repeatIn(get_lines(), 'a') ]] [[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['code'] ]] - [[ '. '*(a['level']-1) ]][[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) ]][[ a['name'] ]] + [[ '. '*(a['level']-1) ]][[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name'] ]] [[ a['balance'] and formatLang(get_abs(a['balance'])) or 0.0 ]] - [[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) ]][[ a['code1'] ]] + [[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['code1'] ]] - [[ '. '*(a['level1']-1) ]][[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) ]][[ a['name1'] ]] + [[ '. '*(a['level1']-1) ]][[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name1'] ]] [[ a['balance1'] and formatLang(get_abs(a['balance1'])) or 0.0 ]] @@ -289,13 +277,13 @@ - Balance:([[ get_currency(data['form']) ]]) + Balance:([[ get_currency(data) ]]) [[ sum_dr() and formatLang(get_abs(sum_dr())) or 0.0 ]] - Balance:([[ get_currency(data['form']) ]]) + Balance:([[ get_currency(data) ]])