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