fix for report.py per docids = none

This commit is contained in:
Andrea MKT
2023-09-14 16:59:35 +02:00
committed by GitHub
parent f5c04ca190
commit 849b43b738

View File

@@ -28,7 +28,8 @@ class ReportController(report.ReportController):
options=options,
**kwargs,
)
docids = [int(_id) for _id in (docids or "").split(",")]
if docids:
docids = [int(_id) for _id in docids.split(",")]
data = {**json.loads(options or "{}"), **kwargs}
context = dict(request.env.context)
if "context" in data: