500: Internal Server Error

Traza

Traceback (most recent call last):
  File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 813, in dispatch
    r = self._call_function(**self.params)
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 370, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/14.0/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 358, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 919, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 544, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/14.0/all_addons/website_stock_attrib_value/controllers/main.py", line 129, in shop
    product_variant_ids = product.product_variant_ids.filtered(
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 3156, in __get__
    return super().__get__(records, owner)
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 2493, in __get__
    return super().__get__(records, owner)
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 1083, in __get__
    return self.convert_to_record(value, record)
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 2968, in convert_to_record
    corecords = corecords.filtered(Comodel._active_name).with_prefetch(prefetch_ids)
  File "/opt/odoo/14.0/odoo/odoo/models.py", line 5330, in filtered
    self.mapped(name)
  File "/opt/odoo/14.0/odoo/odoo/models.py", line 5292, in mapped
    recs = recs._fields[name].mapped(recs)
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 1109, in mapped
    self.__get__(first(remaining), type(remaining))
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 1019, in __get__
    recs._fetch_field(self)
  File "/opt/odoo/14.0/odoo/odoo/models.py", line 3078, in _fetch_field
    self._read(fnames)
  File "/opt/odoo/14.0/odoo/odoo/models.py", line 3145, in _read
    cr.execute(query_str, params + [sub_ids])
  File "<decorator-gen-5>", line 2, in execute
  File "/opt/odoo/14.0/odoo/odoo/sql_db.py", line 101, in check
    return f(self, *args, **kwargs)
  File "/opt/odoo/14.0/odoo/odoo/sql_db.py", line 301, in execute
    res = self._obj.execute(query, params)
Exception

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

Traceback (most recent call last):
  File "/opt/odoo/14.0/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 813, in dispatch
    r = self._call_function(**self.params)
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 370, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/14.0/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 358, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 919, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/14.0/odoo/odoo/http.py", line 544, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/14.0/all_addons/website_stock_attrib_value/controllers/main.py", line 129, in shop
    product_variant_ids = product.product_variant_ids.filtered(
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 3156, in __get__
    return super().__get__(records, owner)
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 2493, in __get__
    return super().__get__(records, owner)
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 1083, in __get__
    return self.convert_to_record(value, record)
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 2968, in convert_to_record
    corecords = corecords.filtered(Comodel._active_name).with_prefetch(prefetch_ids)
  File "/opt/odoo/14.0/odoo/odoo/models.py", line 5330, in filtered
    self.mapped(name)
  File "/opt/odoo/14.0/odoo/odoo/models.py", line 5292, in mapped
    recs = recs._fields[name].mapped(recs)
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 1109, in mapped
    self.__get__(first(remaining), type(remaining))
  File "/opt/odoo/14.0/odoo/odoo/fields.py", line 1019, in __get__
    recs._fetch_field(self)
  File "/opt/odoo/14.0/odoo/odoo/models.py", line 3078, in _fetch_field
    self._read(fnames)
  File "/opt/odoo/14.0/odoo/odoo/models.py", line 3145, in _read
    cr.execute(query_str, params + [sub_ids])
  File "<decorator-gen-5>", line 2, in execute
  File "/opt/odoo/14.0/odoo/odoo/sql_db.py", line 101, in check
    return f(self, *args, **kwargs)
  File "/opt/odoo/14.0/odoo/odoo/sql_db.py", line 301, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.UndefinedColumn: column product_product.google_shop_product_categ does not exist
LINE 1: ...be_zoomed" as "can_image_variant_1024_be_zoomed", "product_p...
                                                             ^