Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4790 Widoki

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lut 16
4401
1
paź 24
1055
7
gru 21
10657
0
wrz 21
1209
1
mar 15
4994