500: Internal Server Error

Fout herleiden

Traceback (most recent call last):
  File "/opt/odoo/odoo/odoo/addons/base/models/ir_http.py", line 234, in _dispatch
    result = request.dispatch()
  File "/opt/odoo/odoo/odoo/http.py", line 809, in dispatch
    r = self._call_function(**self.params)
  File "/opt/odoo/odoo/odoo/http.py", line 350, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/odoo/odoo/http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo/odoo/odoo/http.py", line 915, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/addons-extra/website_sales_order/controllers/shop.py", line 240, in product
    product=product, category=category, search=search, **kwargs
  File "/opt/odoo/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/odoo/addons/website_sale/controllers/main.py", line 312, in product
    return request.render("website_sale.product", self._prepare_product_values(product, category, search, **kwargs))
  File "/opt/odoo/odoo/addons/website_sale/controllers/main.py", line 323, in _prepare_product_values
    category = ProductCategory.browse(int(category)).exists()
ValueError: invalid literal for int() with base 10: '166?category=166'