Browse Source

Merge pull request #51 from bealdav/patch-1

Update README in report_xlsx
pull/66/head
Alexandre Fayolle 8 years ago
committed by GitHub
parent
commit
ca9d68460b
  1. 4
      report_xlsx/README.rst

4
report_xlsx/README.rst

@ -24,7 +24,7 @@ A python class ::
from openerp.addons.report_xlsx.report.report_xlsx import ReportXlsx
class partner_xlsx(ReportXlsx):
class PartnerXlsx(ReportXlsx):
def generate_xlsx_report(self, workbook, data, partners):
for obj in partners:
@ -35,7 +35,7 @@ A python class ::
sheet.write(0, 0, obj.name, bold)
partner_xlsx('report.res.partner.xlsx',
PartnerXlsx('report.res.partner.xlsx',
'res.partner')
To manipulate the ``workbook`` and ``sheet`` objects, refer to the

Loading…
Cancel
Save