mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] report_xlsx: Migration to 17.0
This commit is contained in:
@@ -26,7 +26,7 @@ class ReportAction(models.Model):
|
||||
.sudo(False)
|
||||
.create_xlsx_report(docids, data) # noqa
|
||||
)
|
||||
if ret and isinstance(ret, (tuple, list)): # data, "xlsx"
|
||||
if ret and isinstance(ret, (tuple | list)): # data, "xlsx"
|
||||
report_sudo.save_xlsx_report_attachment(docids, ret[0])
|
||||
return ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user