跳至内容
菜单
此问题已终结
1 回复
2328 查看

Greetings community,


I have issue with Product Brand, stating this error when I am trying to enter, can you please help me to solve this. Thanks


RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/api.py", line 989, in get
    cache_value = field_cache[record._ids[0]]
KeyError: 466

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/fields.py", line 1160, in __get__
    value = env.cache.get(record, self)
  File "/odoo/odoo-server/odoo/api.py", line 996, in get
    raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'ir.actions.act_window(466,).search_view'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/http.py", line 1588, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/odoo/odoo-server/odoo/service/model.py", line 133, in retrying
    result = func()
  File "/odoo/odoo-server/odoo/http.py", line 1615, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/odoo/odoo-server/odoo/http.py", line 1819, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
  File "/odoo/odoo-server/addons/website/models/ir_http.py", line 237, in _dispatch
    response = super()._dispatch(endpoint)
  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
    result = endpoint(**request.params)
  File "/odoo/odoo-server/odoo/http.py", line 697, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/odoo/odoo-server/addons/web/controllers/action.py", line 34, in load
    action = request.env[action_type].sudo().browse([action_id]).read()
  File "/odoo/odoo-server/odoo/addons/base/models/ir_actions.py", line 272, in read
    result = super(IrActionsActWindow, self).read(fields, load=load)
  File "/odoo/odoo-server/odoo/models.py", line 2985, in read
    return self._read_format(fnames=fields, load=load)
  File "/odoo/odoo-server/odoo/models.py", line 3164, in _read_format
    vals[name] = convert(record[name], record, use_name_get)
  File "/odoo/odoo-server/odoo/models.py", line 5897, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/odoo/odoo-server/odoo/fields.py", line 1209, in __get__
    self.compute_value(recs)
  File "/odoo/odoo-server/odoo/fields.py", line 1387, in compute_value
    records._compute_field_value(self)
  File "/odoo/odoo-server/odoo/models.py", line 4221, in _compute_field_value
    fields.determine(field.compute, self)
  File "/odoo/odoo-server/odoo/fields.py", line 97, in determine
    return needle(*args)
  File "/odoo/odoo-server/odoo/addons/base/models/ir_actions.py", line 240, in _compute_search_view
    fvg = self.env[act.res_model].get_view(act.search_view_id.id, 'search')
  File "/odoo/odoo-server/odoo/api.py", line 542, in __getitem__
    return self.registry[model_name](self, (), ())
  File "/odoo/odoo-server/odoo/modules/registry.py", line 190, in __getitem__
    return self.models[model_name]
KeyError: 'product.brand'

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    at makeErrorFromResponse (https://mangasvijet.com/web/assets/debug/web.assets_backend.js:10373:19) (/web/static/src/core/network/rpc_service.js:34)
    at XMLHttpRequest. (https://mangasvijet.com/web/assets/debug/web.assets_backend.js:10426:27) (/web/static/src/core/network/rpc_service.js:87)

形象
丢弃

Check your custom addons, and see if any modules contain the product.brand model ,upgrade the same

最佳答案

Hi,
This issue is shown by Odoo when it cannot find a model.Check inside the module by accessing the "model" folder and see if a product brand is properly added.


Hope it helps

形象
丢弃
相关帖文 回复 查看 活动
5
3月 25
5886
2
4月 24
2309
1
3月 24
1277
2
3月 24
1735
1
4月 25
3535