From 999268355a450cc43aca4344201e9ae6260a5e00 Mon Sep 17 00:00:00 2001 From: Vauxoo Date: Mon, 16 Apr 2012 10:35:22 -0530 Subject: [PATCH] [FIX] Fixed validation to total in profit and loss report. --- account_financial_report/report/account_balance_4_cols.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_financial_report/report/account_balance_4_cols.py b/account_financial_report/report/account_balance_4_cols.py index 36a58af4..f36087d1 100644 --- a/account_financial_report/report/account_balance_4_cols.py +++ b/account_financial_report/report/account_balance_4_cols.py @@ -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',