Traceback (most recent call last): File "/opt/odoo17/odoo/addons/web/controllers/report.py", line 113, in report_download response = self.report_routes(reportname, docids=docids, converter=converter, context=context) File "/opt/odoo17/odoo/odoo/http.py", line 722, in route_wrapper result = endpoint(self, *args, **params_ok) File "/opt/odoo17/odoo/addons/web/controllers/report.py", line 42, in report_routes pdf = report.with_context(context)._render_qweb_pdf(reportname, docids, data=data)[0] File "/opt/odoo17/odoo/addons/account/models/ir_actions_report.py", line 58, in _render_qweb_pdf return super()._render_qweb_pdf(report_ref, res_ids=res_ids, data=data) File "/opt/odoo17/odoo/odoo/addons/base/models/ir_actions_report.py", line 839, in _render_qweb_pdf collected_streams = self._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids) File "/opt/odoo17/odoo/addons/sale_pdf_quote_builder/models/ir_actions_report.py", line 16, in _render_qweb_pdf_prepare_streams result = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids) File "/opt/odoo17/odoo/addons/hr_expense/models/ir_actions_report.py", line 12, in _render_qweb_pdf_prepare_streams res = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids) File "/opt/odoo17/odoo/addons/gb_business_trips/models/ir_actions_report.py", line 12, in _render_qweb_pdf_prepare_streams res = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids) File "/opt/odoo17/odoo/addons/account/models/ir_actions_report.py", line 20, in _render_qweb_pdf_prepare_streams return super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids) File "/opt/odoo17/odoo/odoo/addons/base/models/ir_actions_report.py", line 771, in _render_qweb_pdf_prepare_streams if reader.numPages == len(res_ids_wo_stream): File "/opt/odoo17/odooenv/lib/python3.10/site-packages/PyPDF2/_reader.py", line 467, in numPages deprecation_with_replacement("reader.numPages", "len(reader.pages)", "3.0.0") File "/opt/odoo17/odooenv/lib/python3.10/site-packages/PyPDF2/_utils.py", line 369, in deprecation_with_replacement deprecation(DEPR_MSG_HAPPENED.format(old_name, removed_in, new_name)) File "/opt/odoo17/odooenv/lib/python3.10/site-packages/PyPDF2/_utils.py", line 351, in deprecation raise DeprecationError(msg) PyPDF2.errors.DeprecationError: reader.numPages is deprecated and was removed in PyPDF2 3.0.0. Use len(reader.pages) instead.
Can anyone lend a hand in fixing this problem?