openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27053
[Bug 1266462] Re: login error: AttributeError: 'Field res_model not found in browse_record(ir.actions.act_window, 909)'
** Changed in: openobject-addons
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/openobject-addons/+question/242101
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1266462
Title:
login error: AttributeError: 'Field res_model not found in
browse_record(ir.actions.act_window, 909)'
Status in OpenERP Addons (modules):
Invalid
Bug description:
All of a sudden I started getting this error message during login, and
then the modules bar is not loaded. After refreshing the page,
everything starts to work again. This happens only once after a server
restart.
Error message is as follows:
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/web/controllers/main.py", line 992, in load
menu_root_ids = self.get_user_roots(req)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/web/controllers/main.py", line 978, in get_user_roots
return Menus.search(menu_domain, 0, False, False, req.context)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/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.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/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.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/mail/mail_group_menu.py", line 44, in search
ids = super(ir_ui_menu, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=False)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/base/ir/ir_ui_menu.py", line 127, in search
result = self._filter_visible_menus(cr, uid, ids, context=context)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/base/ir/ir_ui_menu.py", line 103, in _filter_visible_menus
if not menu.child_id:
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/orm.py", line 497, in __getattr__
return self[name]
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/orm.py", line 405, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/orm.py", line 3623, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/orm.py", line 3744, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/fields.py", line 538, in get
ids2 = obj.pool.get(self._obj).search(cr, user, domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/mail/mail_group_menu.py", line 44, in search
ids = super(ir_ui_menu, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=False)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/base/ir/ir_ui_menu.py", line 127, in search
result = self._filter_visible_menus(cr, uid, ids, context=context)
File "/usr/lib/python2.6/site-packages/openerp-7.0_20131201_002414-py2.6.egg/openerp/addons/base/ir/ir_ui_menu.py", line 103, in _filter_visible_menus
if not menu.child_id:
File "/usr/lib/python2.6/site-packages/openerp-7.0_20140106_002615-py2.6.egg/openerp/osv/orm.py", line 499, in __getattr__
raise AttributeError(e)
AttributeError: 'Field res_model not found in browse_record(ir.actions.act_window, 909)'
I am on CentOS 6.4, Openerp nightly version installed today to see
whether it will fix the issue or not but it did not help. Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1266462/+subscriptions
References