Browse Source

[IMP] Cambio de Etiqueta para Mayor Analitico

pull/79/head
Humberto Arocha 12 years ago
parent
commit
a6d170ef3d
  1. 13
      account_financial_report/report/parser.py

13
account_financial_report/report/parser.py

@ -79,11 +79,14 @@ class account_balance(report_sxw.rml_parse):
afr_id = form['afr_id'] and type(form['afr_id']) in (list,tuple) and form['afr_id'][0] or form['afr_id']
if afr_id:
name = self.pool.get('afr').browse(self.cr, self.uid, afr_id).name
inf_type = {
'BS' : _('Balance Sheet'),
'IS' : _('Income Statement'),
}
return afr_id and name or inf_type[form['inf_type']]
elif form['analytic_ledger'] and form['columns']=='four' and form['inf_type'] == 'BS':
name = _('Analitic Ledger')
elif form['inf_type'] == 'BS':
name = _('Balance Sheet')
elif form['inf_type'] == 'IS':
name = _('Income Statement')
return name
def get_month(self, form):
'''

Loading…
Cancel
Save