c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12973
[Bug 703953] Re: Form view of leads is not opening at first trial.
** Changed in: openobject-client-web
Status: Confirmed => In Progress
--
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/703953
Title:
Form view of leads is not opening at first trial.
Status in OpenObject Web Client:
In Progress
Bug description:
web-client rev no 4362
1)
I created a new db with crm application.
Then go to Sales/Sales/Leads menu could not be open the form view. And i found following traceback on web-server.
[17/Jan/2011:18:43:27] HTTP
Request Headers:
REFERER: http://localhost:8080/openerp/menu?active=73
HOST: localhost:8080
X-REQUESTED-WITH: XMLHttpRequest
ACCEPT: */*
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
CONNECTION: keep-alive
COOKIE: session_id=ce3954db586ef8535164942d6d0b1631c8cff075; terp_db=db_test; terp_user=admin
Remote-Addr: 127.0.0.1
ACCEPT-LANGUAGE: en-us,en;q=0.7,en-gb;q=0.3
ACCEPT-ENCODING: gzip,deflate
KEEP-ALIVE: 115
[17/Jan/2011:18:43:27] HTTP Traceback (most recent call last):
File "/home/tiny/workspace/openobject-client-web/lib/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/home/tiny/workspace/openobject-client-web/lib/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/tiny/workspace/openobject-client-web/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/home/tiny/workspace/openobject-client-web/openobject/controllers/_root.py", line 87, in default
return request.handler()
File "/home/tiny/workspace/openobject-client-web/lib/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/tiny/workspace/openobject-client-web/addons/openerp/controllers/utils.py", line 112, in wrapper
return fn(*args, **kw)
File "/home/tiny/workspace/openobject-client-web/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/home/tiny/workspace/openobject-client-web/addons/openerp/controllers/tree.py", line 272, in open
'ids': kw.get('id')})
File "/home/tiny/workspace/openobject-client-web/addons/openerp/controllers/tree.py", line 231, in do_action
report_type='pdf')
File "/home/tiny/workspace/openobject-client-web/addons/openerp/controllers/actions.py", line 460, in execute_by_keyword
return execute(keyact[key], **data)
File "/home/tiny/workspace/openobject-client-web/addons/openerp/controllers/actions.py", line 369, in execute
data.setdefault('context', {}).update(expr_eval(action.get('context','{}'), data.get('context', {}).copy()))
File "/home/tiny/workspace/openobject-client-web/addons/openerp/utils/tools.py", line 39, in expr_eval
evaled = eval(string, context)
File "<string>", line 1, in <module>
NameError: name 'section_id' is not defined
127.0.0.1 - - [17/Jan/2011:18:43:27] "GET
/openerp/tree/open?model=ir.ui.menu&id=122&_=1295270007096 HTTP/1.1"
500 27848 "http://localhost:8080/openerp/menu?active=73" "Mozilla/5.0
(X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04
(lucid) Firefox/3.6.3"
2) When i restart the web-client surprisingly form view is open, but
the link "Phone calls" is not working. And found the following
traceback on web-server.
Request Headers:
REFERER: http://localhost:8080/openerp/menu?active=73
Content-Length: 979
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
USER-AGENT: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
CONNECTION: keep-alive
COOKIE: session_id=6ada7722577c28dee8dc6e5da002eeb7413b6428; terp_db=db_test; terp_user=admin
Remote-Addr: 127.0.0.1
PRAGMA: no-cache
HOST: localhost:8080
CACHE-CONTROL: no-cache
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
ACCEPT-LANGUAGE: en-us,en;q=0.7,en-gb;q=0.3
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
ACCEPT-ENCODING: gzip,deflate
KEEP-ALIVE: 115
[17/Jan/2011:18:48:21] HTTP Traceback (most recent call last):
File "/home/tiny/workspace/openobject-client-web/lib/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/home/tiny/workspace/openobject-client-web/lib/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/tiny/workspace/openobject-client-web/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/home/tiny/workspace/openobject-client-web/openobject/controllers/_root.py", line 87, in default
return request.handler()
File "/home/tiny/workspace/openobject-client-web/lib/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/tiny/workspace/openobject-client-web/addons/openerp/controllers/utils.py", line 112, in wrapper
return fn(*args, **kw)
File "/home/tiny/workspace/openobject-client-web/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/home/tiny/workspace/openobject-client-web/addons/openerp/controllers/search.py", line 115, in eval_domain_and_context
parent_context = self.context_get(params.context, params.parent_context) or {}
File "/home/tiny/workspace/openobject-client-web/addons/openerp/controllers/search.py", line 487, in context_get
field_context = expr_eval('dict(%s)' % field_context_str)
File "/home/tiny/workspace/openobject-client-web/addons/openerp/utils/tools.py", line 39, in expr_eval
evaled = eval(string, context)
File "<string>", line 1, in <module>
NameError: name 'active_id' is not defined
/usr/lib/python2.6/cgitb.py:173: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
value = pydoc.html.repr(getattr(evalue, name))
127.0.0.1 - - [17/Jan/2011:18:48:21] "POST /openerp/search/eval_domain_and_context HTTP/1.1" 500 28148 "http://localhost:8080/openerp/menu?active=73" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3"
Thanks.
References