Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2472 Lượt xem

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/cloudclusters/odoo/odoo/http.py", line 1578, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/cloudclusters/odoo/odoo/service/model.py", line 134, in retrying
result = func()
File "/cloudclusters/odoo/odoo/http.py", line 1607, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/cloudclusters/odoo/odoo/http.py", line 1804, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/cloudclusters/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/cloudclusters/odoo/odoo/addons/base/models/ir_http.py", line 144, in _dispatch
result = endpoint(**request.params)
File "/cloudclusters/odoo/odoo/http.py", line 698, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/cloudclusters/odoo/addons/web/controllers/dataset.py", line 42, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/cloudclusters/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/cloudclusters/odoo/odoo/api.py", line 461, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/cloudclusters/odoo/odoo/api.py", line 448, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/cloudclusters/odoo/odoo/models.py", line 6383, in onchange
defaults = self.default_get(missing_names)
File "/cloudclusters/odoo/odoo/addons/base/models/res_config.py", line 471, in default_get
classified = self._get_classified_fields(fields)
File "/cloudclusters/odoo/odoo/addons/base/models/res_config.py", line 447, in _get_classified_fields
groups.append((name, field_groups, ref(field.implied_group)))
File "/cloudclusters/odoo/odoo/addons/base/models/res_config.py", line 427, in ref
return self.env[res_model].browse(res_id)
File "/cloudclusters/odoo/odoo/api.py", line 537, in __getitem__
return self.registry[model_name](self, (), ())
File "/cloudclusters/odoo/odoo/modules/registry.py", line 186, in __getitem__
return self.models[model_name]
KeyError: False

The above server error caused the following client error:
null

Ảnh đại diện
Huỷ bỏ

This error may cause by the addons, you can change the addons by latest and try it in new database

Tác giả Câu trả lời hay nhất

thanks my friend!! i'll try it!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

Seems you have deleted some user groups from the system which is linked with settings field, ie via implied_groups key. If you remember any user groups that you have deleted recently, suppose lets say if the group is "Display incoterms on Sales Order and related invoices" and if you delete it, you will get error on accessing the settings page.


In order to resolve the issue, try upgrading the corresponding module and with the above group "Display incoterms on Sales Order and related invoices", we have to update sale_stock module. So try to find the module, in which the groups are deleted and upgrade it or if you are not aware of the group, update the base module.


Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 24
1990
1
thg 9 23
4440
0
thg 5 22
2507
2
thg 2 24
1496
1
thg 12 24
4035