Odoo Help


Module "Web Shortcuts" causes "Field parent_id not found"

Mogens Nielsen
on 4/9/14, 4:28 PM 1,885 views

I have 2 user profiles that is experiencing a "Field parent_id not found" error when logging in (and refreshing), while other accounts (with same permissions) are fine. The full error is pasted below and I have looked at the database to see if I could locate the problem but no such luck. So by elimination I found that it was the Web Shortcuts module that was the culprit. I really like the idea of the Web Shortcuts module so I am hoping that someone might have an idea of what could be the problem with this.

Server Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, params) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_view.py", line 302, in get_sc name_map = dict(self.pool.get(model).name_get(cr, uid, [x['res_id'] for x in results], context=context)) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_menu.py", line 142, in name_get res.append((id, self._get_one_full_name(elmt))) File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_menu.py", line 156, in _get_one_full_name if elmt.parent_id: File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 499, in __getattr__ raise AttributeError(e) AttributeError: 'Field parent_id not found in browse_record(ir.ui.menu, 137)'

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/9/14, 4:28 PM
Seen: 1885 times
Last updated: 3/16/15, 8:10 AM