Merge PR #555 into 14.0

Signed-off-by sebalix
This commit is contained in:
OCA-git-bot
2021-12-14 07:22:05 +00:00
2 changed files with 2 additions and 3 deletions

View File

@@ -11,8 +11,6 @@ class PartnerXlsx(models.AbstractModel):
def generate_xlsx_report(self, workbook, data, partners):
sheet = workbook.add_worksheet("Report")
i = 0
for obj in partners:
for i, obj in enumerate(partners):
bold = workbook.add_format({"bold": True})
sheet.write(i, 0, obj.name, bold)
i += 1

View File

@@ -39,6 +39,7 @@ odoo.define("report_xlsx.report", function (require) {
url: new_url,
data: {
data: JSON.stringify([new_url, type]),
context: JSON.stringify(cloned_action.context),
},
success: resolve,
error: (error) => {