From 9d6584cb250e5d307c127eb068e12c3fff400830 Mon Sep 17 00:00:00 2001 From: Jay Vora Date: Mon, 27 Oct 2008 17:28:41 +0530 Subject: [PATCH] Account_report :old report corrected bzr revid: jvo@tinyerp.com-20081027115841-4pobk7pjkqc1n8hp --- addons/account_report/report/accounting_report.py | 4 ++-- addons/account_report/report/accounting_report.rml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/account_report/report/accounting_report.py b/addons/account_report/report/accounting_report.py index 9bf2a8e3aac..75172e07795 100644 --- a/addons/account_report/report/accounting_report.py +++ b/addons/account_report/report/accounting_report.py @@ -51,8 +51,8 @@ class accounting_report(report_sxw.rml_parse): 'amount':res[0]['amount'], 'note':res[0]['note'], 'level': level, - 'color_font':res[0]['color_font'], - 'color_back':res[0]['color_back'], +# 'color_font':res[0]['color_font'], +# 'color_back':res[0]['color_back'], } self.ret_list.append(ret_dict) diff --git a/addons/account_report/report/accounting_report.rml b/addons/account_report/report/accounting_report.rml index 2b2d6501206..c755303870e 100644 --- a/addons/account_report/report/accounting_report.rml +++ b/addons/account_report/report/accounting_report.rml @@ -119,13 +119,13 @@ -[[ ' \t '*(obj['level']) + obj['name'] ]] [[ obj['color_font'] and ( setTag('para','para',{'textColor':obj['color_font']})) ]] [[ obj['color_back'] and ( setTag('para','para',{'backColor':obj['color_back']})) ]] +[[ '....'*(obj['level']) ]][[ obj['name'] ]] -[[obj['code'] ]] [[ obj['color_font'] and (setTag('para','para',{'textColor':obj['color_font']})) ]] [[ obj['color_back'] and ( setTag('para','para',{'backColor':obj['color_back']})) ]] +[[obj['code'] ]] -[['%.2f' % obj['amount'] ]] [[ obj['color_font'] and ( setTag('para','para',{'textColor':obj['color_font']})) ]][[ obj['color_back'] and ( setTag('para','para',{'backColor':obj['color_back']})) ]] +[['%.2f' % obj['amount'] ]]