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']) ]]