From dd5231f3d1637dd6067a91b51a46f5c35b90a41c Mon Sep 17 00:00:00 2001 From: "Luis E. Escobar V" Date: Thu, 9 Feb 2012 15:46:17 -0530 Subject: [PATCH] [FIX] Added 'Libro Mayor Legal' in General Account Balance Four Columns. [FIX] Optimized Credit and Balance column in General Account Balance Four Columns. --- .../report/account_balance_4_cols.py | 3 ++- .../report/balance_full_4_cols.rml | 14 +++++++++----- .../wizard/wizard_account_balance_4_report.py | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/account_financial_report/report/account_balance_4_cols.py b/account_financial_report/report/account_balance_4_cols.py index f33f3e23..e5a3ad98 100644 --- a/account_financial_report/report/account_balance_4_cols.py +++ b/account_financial_report/report/account_balance_4_cols.py @@ -79,7 +79,8 @@ class account_balance(report_sxw.rml_parse): inf_type = { 'bgen' : ' Balance General', 'bcom' : ' Balance de Comprobacion', - 'edogp': 'Estado de Ganancias y Perdidas' + 'edogp': 'Estado de Ganancias y Perdidas', + 'bml': 'Libro Mayor Legal' } return inf_type[form['inf_type']] diff --git a/account_financial_report/report/balance_full_4_cols.rml b/account_financial_report/report/balance_full_4_cols.rml index 3a590300..9af85ebe 100644 --- a/account_financial_report/report/balance_full_4_cols.rml +++ b/account_financial_report/report/balance_full_4_cols.rml @@ -22,7 +22,11 @@ - [[ get_informe_text(data['form']) ]][[data['form'] and (' (Expresado en %s)'%( company.currency_id.name)) or '']] + [[ get_informe_text(data['form']) ]] + + + + [[data['form'] and (' (Expresado en %s)'%( company.currency_id.name)) or '']] @@ -65,14 +69,14 @@ - - - + + + diff --git a/account_financial_report/wizard/wizard_account_balance_4_report.py b/account_financial_report/wizard/wizard_account_balance_4_report.py index 5d20c6de..da392ebb 100644 --- a/account_financial_report/wizard/wizard_account_balance_4_report.py +++ b/account_financial_report/wizard/wizard_account_balance_4_report.py @@ -45,7 +45,7 @@ class wizard_report(osv.osv_memory): 'date_to': fields.date('End date'), 'tot_check': fields.boolean('Show Total'), 'lab_str': fields.char('Description', size= 128), - 'inf_type': fields.selection([('bgen','Balance General'),('bcom','Balance Comprobacion'),('edogp','Estado Ganancias y Perdidas')],'Tipo Informe',required=True), + 'inf_type': fields.selection([('bgen','Balance General'),('bcom','Balance Comprobacion'),('edogp','Estado Ganancias y Perdidas'),('bml','Libro Mayor Legal')],'Tipo Informe',required=True), #~ 'type_report': fields.selection([('un_col','Una Columna'),('dos_col','Dos Columnas'),('cuatro_col','Cuatro Columnas')],'Tipo Informe',required=True), }