Skip to content

Commit

Permalink
Merge PR OCA#322 into 11.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 17, 2019
2 parents 8cea303 + 734fb70 commit f0a76ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions report_xlsx/report/report_partner_xlsx.py
Expand Up @@ -9,7 +9,7 @@ class PartnerXlsx(models.AbstractModel):
_inherit = 'report.report_xlsx.abstract'

def generate_xlsx_report(self, workbook, data, partners):
for obj in partners:
sheet = workbook.add_worksheet('Report')
sheet = workbook.add_worksheet('Report')
for i, obj in enumerate(partners):
bold = workbook.add_format({'bold': True})
sheet.write(0, 0, obj.name, bold)
sheet.write(i, 0, obj.name, bold)

0 comments on commit f0a76ef

Please sign in to comment.