[IMP] report_csv : black, isort, prettier

This commit is contained in:
Adrien Peiffer
2022-04-05 10:26:08 +02:00
committed by Zina Rasoamanana
parent 3902c7f68a
commit 792f95d80c
3 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ class ReportController(report.ReportController):
if data["context"].get("lang"):
del data["context"]["lang"]
context.update(data["context"])
csv = report.with_context(context)._render_csv(docids, data=data)[0]
csv = report.with_context(**context)._render_csv(docids, data=data)[0]
filename = "{}.{}".format(report.name, "csv")
if docids:
obj = request.env[report.model].browse(docids)