Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4794 Представления

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)'

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
февр. 16
4404
1
окт. 24
1055
7
дек. 21
10658
0
сент. 21
1210
1
мар. 15
4998