Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


[SOLVED] Leave tree display not working after updating version 7.0

on 12/4/14, 11:37 AM 911 views


I'm running version 7.0 on a ubuntu server 12.04 with regular updates from the nightly official repos.

After the last update to the latest 7.0 version, I get the following error message when trying to display the leaves tree. Any hint about this? Thank you:

Client Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 1053, in search_read return self.do_search_read(req, model, fields, offset, limit, domain, sort) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 1088, in do_search_read records = Model.read(ids, fields or False, req.context) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/lib/python2.7/dist-packages/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/python2.7/dist-packages/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/usr/lib/python2.7/dist-packages/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/usr/lib/python2.7/dist-packages/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/osv/orm.py", line 3708, in read result = self._read_flat(cr, user, select, fields, context, load) File "/usr/lib/python2.7/dist-packages/openerp/osv/orm.py", line 3831, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "/usr/lib/python2.7/dist-packages/openerp/osv/fields.py", line 1159, in get result[id] = self.postprocess(cr, uid, obj, name, result[id], context) File "/usr/lib/python2.7/dist-packages/openerp/osv/fields.py", line 1125, in postprocess result = (value, dict_names[value]) KeyError: 27

Have you tried to restart the server and upgrade the related module? There might be some changes in that requires restart and upgrade.

on 12/4/14, 8:49 PM
On 12/5/14, 3:56 AM

Solved. It was due to a database inconsistency after deleting an user.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 12/4/14, 11:37 AM
Seen: 911 times
Last updated: 3/16/15, 8:10 AM