Skip to content

Commit

Permalink
[11.0][FIX] Report xlsx res_partner
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaime Arroyo committed Sep 10, 2019
1 parent 79166e7 commit 734fb70
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 734fb70

Please sign in to comment.