From c006509e03a472f218c3ec00cc1456bc0752627f Mon Sep 17 00:00:00 2001 From: Lorenzo Battistini Date: Thu, 26 Sep 2013 15:47:44 +0200 Subject: [PATCH] [FIX] restoring correct bold styles --- .../report/account_balance_sheet_horizontal.rml | 6 +++--- .../report/account_profit_horizontal.rml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/account_financial_report_horizontal/report/account_balance_sheet_horizontal.rml b/account_financial_report_horizontal/report/account_balance_sheet_horizontal.rml index c4aec705..11e3daf2 100644 --- a/account_financial_report_horizontal/report/account_balance_sheet_horizontal.rml +++ b/account_financial_report_horizontal/report/account_balance_sheet_horizontal.rml @@ -197,14 +197,14 @@ - [[ a['level']<4 and ( setTag('para','para')) or removeParentNode('font') ]][[ a['code1'] ]] + [[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['code1'] ]] - [[ '. '*(a['level1']-1) ]][[ a['level1']<4 and ( setTag('para','para')) or removeParentNode('font') ]][[ a['name1'] ]] + [[ '. '*(a['level1']-1) ]][[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name1'] ]] - [[ a['level1']<4 and ( setTag('para','para')) or removeParentNode('font') ]] + [[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]] [[ a['code1'] and formatLang(a['balance1']) or removeParentNode('font') ]] [[ company.currency_id.symbol ]] diff --git a/account_financial_report_horizontal/report/account_profit_horizontal.rml b/account_financial_report_horizontal/report/account_profit_horizontal.rml index 5e392176..c5846931 100644 --- a/account_financial_report_horizontal/report/account_profit_horizontal.rml +++ b/account_financial_report_horizontal/report/account_profit_horizontal.rml @@ -213,33 +213,33 @@ - [[ repeatIn(get_lines(),'a' ) ]] [[ a['code'] ]][[ a['level']<4 and ( setTag('para','para')) or removeParentNode('font') ]] + [[ repeatIn(get_lines(),'a' ) ]] [[ a['code'] ]][[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]] - [[ '. '*(a['level']-1) ]][[ a['level']<4 and ( setTag('para','para')) or removeParentNode('font') ]][[ a['name'] ]] + [[ '. '*(a['level']-1) ]][[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name'] ]] - [[ a['level']<4 and ( setTag('para','para')) or removeParentNode('font') ]] + [[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]] [[ a['code'] and formatLang(a['balance']) or removeParentNode('font') ]] [[ company.currency_id.symbol ]] - [[ a['code1'] ]][[ a['level1']<4 and ( setTag('para','para')) or removeParentNode('font') ]] + [[ a['code1'] ]][[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]] - [[ '. '*(a['level1']-1) ]][[ a['level1']<4 and ( setTag('para','para')) or removeParentNode('font') ]][[ a['name1'] ]] + [[ '. '*(a['level1']-1) ]][[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name1'] ]] - [[ a['level1']<4 and ( setTag('para','para')) or removeParentNode('font') ]] + [[ a['level1']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]] [[ a['code1'] and formatLang(a['balance1']) or removeParentNode('font') ]] [[ company.currency_id.symbol ]]