From 29d88dd7cb3e144c0bffe02dab9cf5f4c693ae11 Mon Sep 17 00:00:00 2001 From: "psi (Open ERP)" Date: Thu, 16 Sep 2010 14:53:50 +0530 Subject: [PATCH] [IMP] Account:Change the layout of balance sheet report bzr revid: psi@tinyerp.co.in-20100916092350-tqxoa78nz3fthe9u --- .../account/report/account_balance_sheet.rml | 144 +++++++++--------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/addons/account/report/account_balance_sheet.rml b/addons/account/report/account_balance_sheet.rml index 2170fb02c85..052ecce16cb 100644 --- a/addons/account/report/account_balance_sheet.rml +++ b/addons/account/report/account_balance_sheet.rml @@ -117,10 +117,10 @@ - - - - + + + + @@ -177,42 +177,42 @@ - Chart of Account + Chart of Account Fiscal Year Filter By [[ get_filter(data)!='No Filter' and '' or removeParentNode('font') ]] - Display Account + Display Account Printing Date - - [[ get_account(data) or removeParentNode('para') ]] + + [[ get_account(data) or removeParentNode('para') ]] [[ get_fiscalyear(data) or '' ]] [[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]] - [[ get_filter(data)=='Date' or removeParentNode('blockTable') ]] - - Start Date - End Date - - - [[ formatLang(get_start_date(data),date=True) ]] - [[ formatLang(get_end_date(data),date=True) ]] - - - [[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]] - - Start Period - End Period - - - [[ get_start_period(data) or removeParentNode('para') ]] - [[ get_end_period(data) or removeParentNode('para') ]] - - - - [[ (data['form']['display_account']=='bal_all' and 'All') or (data['form']['display_account']=='bal_movement' and 'With movements') or 'With balance is not equal to 0']] - [[ formatLang(time.strftime('%Y-%m-%d %H:%M:%S'), date_time = True) ]] - - - + [[ get_filter(data)=='Date' or removeParentNode('blockTable') ]] + + Start Date + End Date + + + [[ formatLang(get_start_date(data),date=True) ]] + [[ formatLang(get_end_date(data),date=True) ]] + + + [[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]] + + Start Period + End Period + + + [[ get_start_period(data) or removeParentNode('para') ]] + [[ get_end_period(data) or removeParentNode('para') ]] + + + + [[ (data['form']['display_account']=='bal_all' and 'All') or (data['form']['display_account']=='bal_movement' and 'With movements') or 'With balance is not equal to 0']] + [[ formatLang(time.strftime('%Y-%m-%d %H:%M:%S'), date_time = True) ]] + + + @@ -221,44 +221,6 @@ - - - - Code - - - Liabilities - - - Total Amount([[ get_currency(data) ]]) - - - - - [[ repeatIn(get_lines_another('liability'), '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',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name'] ]] - - - [[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]][[ formatLang(abs(a['balance'])) ]] [[ company.currency_id.symbol ]] - - - - - - - Balance:([[ get_currency(data) ]]) - - - [[ formatLang(abs(sum_dr())) ]] [[ company.currency_id.symbol ]] - - - - - - - @@ -293,6 +255,44 @@ + + + + + + + + Code + + + Liabilities + + + Total Amount([[ get_currency(data) ]]) + + + + + [[ repeatIn(get_lines_another('liability'), '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',{'style':'terp_default_Bold_9'})) or removeParentNode('font') ]][[ a['name'] ]] + + + [[ a['level']<4 and ( setTag('para','para',{'style':'terp_default_Right_9_Bold'})) or removeParentNode('font') ]][[ formatLang(abs(a['balance'])) ]] [[ company.currency_id.symbol ]] + + + + + + + Balance:([[ get_currency(data) ]]) + + + [[ formatLang(abs(sum_dr())) ]] [[ company.currency_id.symbol ]] + + +