Skip to content

Commit

Permalink
[IMP] clean commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
yvaucher committed Nov 7, 2013
1 parent bfb191e commit 1a80ccd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions base_report_assembler/report_assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
from PyPDF2 import PdfFileReader, PdfFileWriter
from StringIO import StringIO

from openerp.service.web_services import report_spool
from openerp.netsvc import Service
from openerp.netsvc import ExportService
from openerp.report import report_sxw
from openerp import pooler, sql_db
Expand Down Expand Up @@ -82,18 +80,6 @@ def _generate_all_pdf(self, cr, uid, ids, data, report_ids, context=None):
pdf_reports.append(pdf)
return pdf_reports

#pdf_reports = {}
#report_list = report_obj.browse(cr, uid, report_ids, context=context)
#report_obj = pool.get('ir.actions.report.xml')
#pool = pooler.get_pool(cr.dbname)
#for report in report_list:

#report_parser = Service._services['report.%s' %report.report_name]
#pdf_reports[report.id] = report_parser.create_single_pdf(cr, uid, ids, data, report, context=context)[0]
#return pdf_reports



def _get_report_ids(self, cr, uid, ids, context=None):
"""
Hook to define the list of report to print
Expand Down

0 comments on commit 1a80ccd

Please sign in to comment.