mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] report_xlsx: Migration to 14.0
This commit is contained in:
@@ -28,7 +28,7 @@ class ReportController(report.ReportController):
|
||||
if data["context"].get("lang"):
|
||||
del data["context"]["lang"]
|
||||
context.update(data["context"])
|
||||
xlsx = report.with_context(context).render_xlsx(docids, data=data)[0]
|
||||
xlsx = report.with_context(context)._render_xlsx(docids, data=data)[0]
|
||||
report_name = report.report_file
|
||||
if report.print_report_name and not len(docids) > 1:
|
||||
obj = request.env[report.model].browse(docids[0])
|
||||
|
||||
Reference in New Issue
Block a user