From: Naresh Choksy Date: Tue, 12 May 2009 12:04:06 +0000 (+0530) Subject: Bugfix:account_balance and layout report X-Git-Tag: 5.0.7rc2-server~98^2~35 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=1200bc1ecc6b3c322512d08b2fb866cd7e6ad38b;p=odoo%2Fodoo.git Bugfix:account_balance and layout report bzr revid: nch@tinyerp.com-20090512120406-oiwt78lze4fyime4 --- diff --git a/addons/account/report/account_balance.rml b/addons/account/report/account_balance.rml index 73c879e..6f9dd74 100644 --- a/addons/account/report/account_balance.rml +++ b/addons/account/report/account_balance.rml @@ -57,9 +57,12 @@ - - + + + + + @@ -85,17 +88,18 @@ - - - + + + - + - + + @@ -122,7 +126,6 @@ fontSize="8.0" /> Code - Account + Account Debit @@ -173,11 +176,11 @@ [[ repeatIn(lines(data['form']), 'a') ]][[ a['code'] or removeParentNode('tr') ]] - + [[ ...*(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']) ]] @@ -194,4 +197,4 @@ - + \ No newline at end of file diff --git a/addons/account_invoice_layout/report/report_account_invoice_layout.rml b/addons/account_invoice_layout/report/report_account_invoice_layout.rml index c771e7d..1c020b6 100644 --- a/addons/account_invoice_layout/report/report_account_invoice_layout.rml +++ b/addons/account_invoice_layout/report/report_account_invoice_layout.rml @@ -169,7 +169,7 @@ - [[ a['type']=='text' and removeParentNode('tr')]] + [[ a['type']=='text' and removeParentNode('blockTable')]] [[ (a['type']=='title' or a['type']=='subtotal') and ( setTag('para','para',{'fontName':'Times-bold'})) ]][[ a['name'] ]] @@ -178,10 +178,10 @@ [[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Times-bold'})) ]][[ a['tax_types'] ]] - [[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Times-bold'})) ]][[ a['quantity'] ]] + [[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Times-bold'})) ]][[ a['quantity'] ]][[ a['uos'] ]] - [[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Times-bold'})) ]][[ a['uos'] ]] + [[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Times-bold'})) ]][[ a['price_unit'] ]] @@ -218,7 +218,7 @@ - Description [[ a['type']!='break' and removeParentNode('tr')]] + Description [[ a['type']!='break' and removeParentNode('blockTable')]] Taxes