Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2067 Ansichten

Suddenly getting this


Odoo Server Error
Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/odoo/odoo-server/odoo/http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/odoo/http.py", line 347, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 912, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 531, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/website_sale/controllers/backend.py", line 59, in fetch_dashboard_data
    product_tmpl_id = request.env['product.template'].browse(product_line['product_tmpl_id'][0])
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/http.py", line 639, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo/odoo-server/odoo/http.py", line 315, in _handle_exception
    raise exception.with_traceback(None) from new_cause
TypeError: 'bool' object is not subscriptable


What "product_tmpl" is causing whis.



Avatar
Verwerfen

Do you have a dashboard setup? Try looking there.

Autor

Well it started working again... I have no idea if it was because of this. But I disabled the google analytics as I was moving to GA4. I've reenabled it again, and that made a difference. ?

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Sept. 23
8572
1
Mai 23
2630
1
Mai 22
2643
0
Juni 21
2081
0
Juni 21
2509