diff --git a/account_financial_report/report/account_balance_2_cols.py b/account_financial_report/report/account_balance_2_cols.py index 6783b5e6..62cdb0ea 100644 --- a/account_financial_report/report/account_balance_2_cols.py +++ b/account_financial_report/report/account_balance_2_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', + 'bdl' : 'Diario Legal' } return inf_type[form['inf_type']] diff --git a/account_financial_report/report/balance_full_2_cols.rml b/account_financial_report/report/balance_full_2_cols.rml index 1b65f18a..55bc336d 100644 --- a/account_financial_report/report/balance_full_2_cols.rml +++ b/account_financial_report/report/balance_full_2_cols.rml @@ -16,7 +16,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 '']] diff --git a/account_financial_report/wizard/wizard_account_balance_2_report.py b/account_financial_report/wizard/wizard_account_balance_2_report.py index 64527f78..14aea962 100644 --- a/account_financial_report/wizard/wizard_account_balance_2_report.py +++ b/account_financial_report/wizard/wizard_account_balance_2_report.py @@ -45,7 +45,7 @@ class wizard_account_balance_gene_2(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'),('bdl','Diario 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), }