From 34b6b7961972a299232aa3ef2735bc2d9cccabf9 Mon Sep 17 00:00:00 2001 From: "Apa (Open ERP)" Date: Tue, 14 Apr 2009 14:36:55 +0530 Subject: [PATCH] Fixed : Bug #360622 bzr revid: apa@tinyerp.com-20090414090655-tsw667cqs52llfgu --- addons/account/report/account_balance.rml | 50 ++++------------------- 1 file changed, 8 insertions(+), 42 deletions(-) diff --git a/addons/account/report/account_balance.rml b/addons/account/report/account_balance.rml index 64f448cbfba..73c879ead52 100644 --- a/addons/account/report/account_balance.rml +++ b/addons/account/report/account_balance.rml @@ -98,22 +98,7 @@ - - - - - - - - - - - - - - - - + @@ -131,34 +116,13 @@ - - - - - - - [[ repeatIn(lines(data['form']), 'a') ]][[ a['code'] or removeParentNode('tr') ]] - [[ setTag('tr','tr',{'style':'TrLevel'+str(a['level']), 'paraStyle':('Level'+str(a['level']))}) ]] - [[ a['name'] ]] + + [[ (a['level']<3 and setTag('tr','tr',{'style':'TrLevel'+str(a['level']), 'paraStyle':('Level'+str(a['level']))})) or removeParentNode('font') ]] + [[ (a['level']>2 and setTag('tr','tr',{'style':'TrLevel', 'paraStyle':('Level')})) or removeParentNode('font') ]] + [[ '...'*(a['level']) ]] [[ a['name'] ]] [[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['debit']) ]]