Browse Source

[FIX] Added 'Diario Legal' in General Account Balance two Columns.

pull/79/head
Luis E. Escobar V 12 years ago
parent
commit
373e933270
  1. 3
      account_financial_report/report/account_balance_2_cols.py
  2. 6
      account_financial_report/report/balance_full_2_cols.rml
  3. 2
      account_financial_report/wizard/wizard_account_balance_2_report.py

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

6
account_financial_report/report/balance_full_2_cols.rml

@ -16,7 +16,11 @@
</tr>
<tr>
<td><para style="TOP_TITLE"></para></td>
<td><para style="TITLE_CENTER">[[ get_informe_text(data['form']) ]][[data['form'] and (' (Expresado en %s)'%( company.currency_id.name)) or '']]</para></td>
<td><para style="TITLE_CENTER">[[ get_informe_text(data['form']) ]]</para></td>
</tr>
<tr>
<td><para style="TOP_TITLE"></para></td>
<td><para style="TITLE_CENTER">[[data['form'] and (' (Expresado en %s)'%( company.currency_id.name)) or '']]</para></td>
</tr>
<tr>
<td><para style="TOP_TITLE"></para></td>

2
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),
}

Loading…
Cancel
Save