[FIX] Fixed validation to total in profit and loss report.
parent
a75bc2da0e
commit
999268355a
|
@ -82,7 +82,6 @@ class account_balance(report_sxw.rml_parse):
|
|||
'edogp': 'Estado de Ganancias y Perdidas',
|
||||
'bml': 'Libro Mayor Legal'
|
||||
}
|
||||
print "Hola Parserrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr"
|
||||
return inf_type[form['inf_type']]
|
||||
|
||||
def get_month(self, form):
|
||||
|
@ -339,7 +338,8 @@ class account_balance(report_sxw.rml_parse):
|
|||
tot_crd += res['credit']
|
||||
tot_eje += res['balance']
|
||||
|
||||
if (form['tot_check'] and res['type']=='view' and res['level']==1 and (res['id'] not in tot)):
|
||||
#if (form['tot_check'] and res['type']=='view' and res['level']==1 and (res['id'] not in tot)):
|
||||
if form['tot_check']:
|
||||
str_label = form['lab_str']
|
||||
res2 = {
|
||||
'type' : 'view',
|
||||
|
|
Loading…
Reference in New Issue