Browse Source

Update README in report_xlsx

pull/171/head
David Beal 9 years ago
committed by Enric Tobella
parent
commit
f5af11898b
No known key found for this signature in database GPG Key ID: 1A2546A1B7BA2451
  1. 6
      report_xlsx/README.rst

6
report_xlsx/README.rst

@ -24,7 +24,7 @@ A python class ::
from openerp.addons.report_xlsx.report.report_xlsx import ReportXlsx 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): def generate_xlsx_report(self, workbook, data, partners):
for obj in partners: for obj in partners:
@ -35,8 +35,8 @@ A python class ::
sheet.write(0, 0, obj.name, bold) sheet.write(0, 0, obj.name, bold)
partner_xlsx('report.res.partner.xlsx',
'res.partner')
PartnerXlsx('report.res.partner.xlsx',
'res.partner')
To manipulate the ``workbook`` and ``sheet`` objects, refer to the To manipulate the ``workbook`` and ``sheet`` objects, refer to the
`documentation <http://xlsxwriter.readthedocs.org/>`_ of ``xlsxwriter``. `documentation <http://xlsxwriter.readthedocs.org/>`_ of ``xlsxwriter``.

Loading…
Cancel
Save