Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo14/odoo/addons/web/controllers/main.py", line 2106, in report_download
response = self.report_routes(reportname, docids=docids, converter=converter, context=context)
File "/opt/odoo14/odoo/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/opt/odoo14/odoo/addons/web/controllers/main.py", line 2041, in report_routes
pdf = report.with_context(context)._render_qweb_pdf(docids, data=data)[0]
File "/opt/odoo14/odoo/odoo/addons/base/models/ir_actions_report.py", line 741, in _render_qweb_pdf
Model = self.env[self_sudo.model]
File "/opt/odoo14/odoo/odoo/api.py", line 473, in __getitem__
return self.registry[model_name]._browse(self, (), ())
File "/opt/odoo14/odoo/odoo/modules/registry.py", line 177, in __getitem__
return self.models[model_name]
KeyError: 'hr.holidays.summary.dept'
Hi can you post your code too?