diff --git a/account_financial_report/report/parser.py b/account_financial_report/report/parser.py index 6b08cb28..84b8580a 100644 --- a/account_financial_report/report/parser.py +++ b/account_financial_report/report/parser.py @@ -261,13 +261,8 @@ class account_balance(report_sxw.rml_parse): credit_account_ids = self.get_company_accounts(form['company_id'] and type(form['company_id']) in (list,tuple) and form['company_id'][0] or form['company_id'],'credit') - print 'Primer print de credit_account_ids ', credit_account_ids - - debit_account_ids = self.get_company_accounts(form['company_id'] and type(form['company_id']) in (list,tuple) and form['company_id'][0] or form['company_id'],'debit') - print 'Primer print de debit_account_ids ', debit_account_ids - if form.get('fiscalyear'): if type(form.get('fiscalyear')) in (list,tuple): fiscalyear = form['fiscalyear'] and form['fiscalyear'][0] @@ -283,17 +278,9 @@ class account_balance(report_sxw.rml_parse): credit_account_ids = _get_children_and_consol(self.cr, self.uid, credit_account_ids, 100,self.context,change_sign=True) - print 'credit_account_ids ', credit_account_ids - debit_account_ids = _get_children_and_consol(self.cr, self.uid, debit_account_ids, 100,self.context,change_sign=True) - print 'debit_account_ids ', debit_account_ids - - credit_account_ids = list(set(credit_account_ids) - set(debit_account_ids)) - - print 'Segundo print de credit_account_ids ', credit_account_ids - # # Generate the report lines (checking each account) @@ -381,7 +368,6 @@ class account_balance(report_sxw.rml_parse): if form['columns'] == 'qtr': pn = 1 - print 'PERIODOS DEL QTR ', p for p_id in p: form['periods'] = p_id @@ -644,7 +630,6 @@ class account_balance(report_sxw.rml_parse): }) result_acc.append(res2) - print 100 * 'FIN ', result_acc return result_acc report_sxw.report_sxw('report.afr.1cols', diff --git a/account_financial_report/wizard/wizard.py b/account_financial_report/wizard/wizard.py index 81800a92..47aea220 100644 --- a/account_financial_report/wizard/wizard.py +++ b/account_financial_report/wizard/wizard.py @@ -199,8 +199,6 @@ class wizard_report(osv.osv_memory): if data['form']['columns'] == 'thirteen': name = 'afr.13cols' - print 'NOMBRE DEL REPORTE, ', name - return {'type': 'ir.actions.report.xml', 'report_name': name, 'datas': data} wizard_report()