Skip to content

Commit

Permalink
Merge pull request #51 from bealdav/patch-1
Browse files Browse the repository at this point in the history
Update README in report_xlsx
  • Loading branch information
gurneyalex committed Aug 9, 2016
2 parents da1e961 + c4cfb8e commit ca9d684
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions report_xlsx/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -35,8 +35,8 @@ A python class ::
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
`documentation <http://xlsxwriter.readthedocs.org/>`_ of ``xlsxwriter``.
Expand Down

0 comments on commit ca9d684

Please sign in to comment.