c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06715
[Bug 582831] Re: A <type 'exceptions.AttributeError'> when trying to edit something from the administration tab
Closing the bug as it does not seem to happen with latest code too.
Reopen with more specific information.
Thanks.
** Changed in: openobject-client-web
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/582831
Title:
A <type 'exceptions.AttributeError'> when trying to edit something from the administration tab
Status in OpenObject Web Client:
Invalid
Bug description:
I load the edit form from the list of User / View / Groups .... But if I can create a new User / View / Group .... Only applies to objects in the tab 'Administration', If I can edit Patnert / Constactos the flap 'Sales'.
I enclose a part of Exception:
<type 'exceptions.AttributeError'> Python 2.6.4: /usr/bin/python2.6
Wed May 19 10:07:55 2010
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py in respond(self=<cherrypy._cprequest.Request object at 0x9a5c68c>, path_info='/form/edit')
604 if self.handler:
605 self.stage = 'handler'
606 cherrypy.response.body = self.handler()
607
608 self.stage = 'before_finalize'
global cherrypy = <module 'cherrypy' from '/usr/local/lib/python2..../CherryPy-3.1.2-py2.6.egg/cherrypy/__init__.pyc'>, cherrypy.response = <cherrypy._ThreadLocalProxy object at 0x88b3c4c>, cherrypy.response.body = [], self = <cherrypy._cprequest.Request object at 0x9a5c68c>, self.handler = <cherrypy._cpdispatch.LateParamPageHandler object at 0x995506c>
/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x9955bec>)
23 def __call__(self):
24 try:
25 return self.callable(*self.args, **self.kwargs)
26 except TypeError, x:
27 test_callable_spec(self.callable, self.args, self.kwargs)
self = <cherrypy._cpdispatch.LateParamPageHandler object at 0x9955bec>, self.callable = <bound method Root.default of <openobject.controllers._root.Root object at 0x88b320c>>, self.args = ('form', 'edit'), self.kwargs = {'context': "{'lang': u'en_US', 'active_ids': [38], 'client': 'web', 'tz': False, 'active_id': 38}", 'count': '139', 'domain': '[]', 'filter_domain': '[]', 'id': '51', 'ids': '[111, 90, 91, 101, 97, 51, 92, 9, 108, 10, 11, 1..., 68, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79, 80]', 'limit': '80', 'model': 'ir.ui.view', 'offset': '0', 'search_data': '', ...}
/home/optimus/workspace/openerp-trunk/openobject-client-web-new-design/openobject/tools/_expose.py in func_wrapper(*args=(<openobject.controllers._root.Root object at 0x88b320c>, 'form', 'edit'), **kw={'context': "{'lang': u'en_US', 'active_ids': [38], 'client': 'web', 'tz': False, 'active_id': 38}", 'count': '139', 'domain': '[]', 'filter_domain': '[]', 'id': '51', 'ids': '[111, 90, 91, 101, 97, 51, 92, 9, 108, 10, 11, 1..., 68, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79, 80]', 'limit': '80', 'model': 'ir.ui.view', 'offset': '0', 'search_data': '', ...})
200 def func_wrapper(*args, **kw):
201
202 res = func(*args, **kw)
203
204 if format == 'json' or (allow_json and 'allow_json' in cherrypy.request.params):
global res = '/home/optimus/workspace/openerp-trunk/openobject...sign/openobject/admin/i18n/mapping/javascript.cfg', func = <function default at 0x8a6f0d4>, args = (<openobject.controllers._root.Root object at 0x88b320c>, 'form', 'edit'), kw = {'context': "{'lang': u'en_US', 'active_ids': [38], 'client': 'web', 'tz': False, 'active_id': 38}", 'count': '139', 'domain': '[]', 'filter_domain': '[]', 'id': '51', 'ids': '[111, 90, 91, 101, 97, 51, 92, 9, 108, 10, 11, 1..., 68, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79, 80]', 'limit': '80', 'model': 'ir.ui.view', 'offset': '0', 'search_data': '', ...}