This question has been flagged

I am using odoo13 I am able to download single invoice just fine but I try to download multiple invoice at once I am given this error (Note:It was working fine till I update odoo by apt)

Error:
Odoo Server Error

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 2049, in report_download
response = self.report_routes(reportname, docids=docids, converter=converter, context=context)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 516, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1987, in report_routes
pdf = report.with_context(context).render_qweb_pdf(docids, data=data)[0]
File "/usr/lib/python3/dist-packages/odoo/addons/account/models/ir_actions_report.py", line 50, in render_qweb_pdf
return super().render_qweb_pdf(res_ids=res_ids, data=data)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 793, in render_qweb_pdf
return self._post_pdf(save_in_attachment, pdf_content=pdf_content, res_ids=html_ids), 'pdf'
File "/usr/lib/python3/dist-packages/odoo/addons/account_facturx/models/ir_actions_report.py", line 50, in _post_pdf
return super(IrActionsReport, self)._post_pdf(save_in_attachment, pdf_content=pdf_content, res_ids=res_ids)
File "/usr/lib/python3/dist-packages/odoo/addons/account/models/ir_actions_report.py", line 27, in _post_pdf
return super(IrActionsReport, self)._post_pdf(save_in_attachment, pdf_content=pdf_content, res_ids=res_ids)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 619, in _post_pdf
assert len(outlines_pages) == len(res_ids)
AssertionError

Avatar
Discard