Closed ajaniszewska-dev closed 2 years ago
facing error:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/odoo/src/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/odoo/src/odoo/http.py", line 810, in dispatch
r = self._call_function(self.params)
File "/odoo/src/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, *kwargs)
File "/odoo/src/odoo/service/model.py", line 94, in wrapper
return f(dbname, args, kwargs)
File "/odoo/src/odoo/http.py", line 348, in checked_call
result = self.endpoint(*a, kw)
File "/odoo/src/odoo/http.py", line 916, in call
return self.method(*args, *kw)
File "/odoo/src/odoo/http.py", line 535, in response_wrap
response = f(args, kw)
File "/odoo/src/addons/web/controllers/main.py", line 1943, in report_routes
html = report.with_context(context)._render_qweb_html(docids, data=data)[0]
File "/odoo/external-src/enterprise/web_studio/models/ir_actions_report.py", line 18, in _render_qweb_html
return super(IrActionsReport, self)._render_qweb_html(docids, data)
File "/odoo/src/odoo/addons/base/models/ir_actions_report.py", line 940, in _render_qweb_html
return self._render_template(self.report_name, data), 'html'
File "/odoo/src/odoo/addons/base/models/ir_actions_report.py", line 677, in _render_template
return view_obj._render_template(template, values).encode()
File "/odoo/src/odoo/addons/base/models/ir_ui_view.py", line 1985, in _render_template
return self.browse(self.get_view_id(template))._render(values, engine)
File "
key is not set on view so search by domain fails..
standard migration + cherry pick of https://github.com/OCA/l10n-switzerland/commit/01bf022e67ca4a0c002e483f9c28bb7628069c65