Browse Source

[PEP8] and correction of doc string

pull/3/head
Nicolas Bessi 11 years ago
parent
commit
7d4f9a77cb
  1. 4
      base_report_assembler/assembled_report.py
  2. 2
      base_report_assembler/report_assembler.py

4
base_report_assembler/assembled_report.py

@ -20,7 +20,6 @@
##############################################################################
from openerp.osv import orm, fields
class AssembledReport(orm.Model):
_name = 'assembled.report'
@ -38,5 +37,6 @@ class AssembledReport(orm.Model):
_defaults = {
'sequence': 1,
'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(cr, uid, 'assembled.report', context=c)
'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(
cr, uid, 'assembled.report', context=c)
}

2
base_report_assembler/report_assembler.py

@ -56,7 +56,7 @@ def assemble_pdf(pdf_list):
class PDFReportAssembler(report_sxw.report_sxw):
""" PDFReportAssembler allows to put 2 invoice reports in one single pdf"""
""" PDFReportAssembler allows to put 2 pdf reports in one single pdf"""
def _generate_all_pdf(self, cr, uid, ids, data, report_ids, context=None):
"""

Loading…
Cancel
Save