Skip to Content
Menu
This question has been flagged
734 Views

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "D:\odoo\server\odoo\http.py", line 1534, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "D:\odoo\server\odoo\service\model.py", line 134, in retrying
result = func()
File "D:\odoo\server\odoo\http.py", line 1563, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "D:\odoo\server\odoo\http.py", line 1760, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "D:\odoo\server\odoo\addons\website\models\ir_http.py", line 222, in _dispatch
response = super()._dispatch(endpoint)
File "D:\odoo\server\odoo\addons\base\models\ir_http.py", line 138, in _dispatch
result = endpoint(**request.params)
File "D:\odoo\server\odoo\http.py", line 673, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "D:\odoo\server\odoo\addons\web\controllers\dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "D:\odoo\server\odoo\addons\web\controllers\dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "D:\odoo\server\odoo\api.py", line 457, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "D:\odoo\server\odoo\api.py", line 430, in _call_kw_model
result = method(recs, *args, **kwargs)
File "D:\odoo\server\odoo\models.py", line 1634, in name_search
return self.browse(ids).sudo().name_get()
File "D:\odoo\server\odoo\addons\product\models\product_product.py", line 435, in name_get
self.sudo().read(['name', 'default_code', 'product_tmpl_id'], load=False)
File "D:\odoo\server\odoo\models.py", line 2989, in read
self._read(stored_fields)
File "D:\odoo\server\odoo\models.py", line 3234, in _read
cr.execute(query_str, params + [sub_ids])
File "D:\odoo\server\odoo\sql_db.py", line 315, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UndefinedFunction: operator does not exist: integer = record
LINE 1: ...FROM "product_product" WHERE "product_product".id IN ((2, 'T...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.


Avatar
Discard