Odoo Help

Welcome!

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.

0

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

By
Mogens Nielsen
on 4/9/14, 4:28 PM 1,543 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)'

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

0 follower(s)

Stats

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