Merge PR #791 into 16.0

Signed-off-by dreispt
pull/820/head
OCA-git-bot 2023-11-18 12:21:47 +00:00
commit 9e301d0ce5
1 changed files with 2 additions and 1 deletions

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: