This commit is contained in:
alexandr.uritskiy 2022-06-02 00:28:06 +05:00
parent df0bb2ba73
commit 3209a208e6

View File

@ -115,7 +115,9 @@ class DocxReportController(ReportController):
# response.set_cookie("fileToken", token)
return response
else:
return super(DocxReportController, self).report_download(data, context=context)
return super(DocxReportController, self).report_download(
data, context=context
)
except Exception as e:
se = _serialize_exception(e)
error = {"code": 200, "message": "Odoo Server Error", "data": se}