c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13055
[Bug 704127] Re: Phonecalls via History raise Error
Hello Felix Schubert,
I have checked this with the latest code, Unfortunately I was unable to
meet this error. I would like to request you to please elaborate this
with the suitable steps. I have attached a video for your reference.
Please update your code and notify us if the issue still occurs at you
end.
Thanks.
** Changed in: openobject-client-web
Status: New => Incomplete
--
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/704127
Title:
Phonecalls via History raise Error
Status in OpenObject Web Client:
Incomplete
Bug description:
Web Client revno: 4369
When a new phonecall is scheduled via Address Book -> Customers ->
Form View -> History Tab -> Phonecalls -> New
raises the following error:
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/controllers/_root.py", line 87, in default
return request.handler()
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/utils.py", line 112, in wrapper
return fn(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/openo2m.py", line 148, in edit
return self.create(params)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/utils.py", line 112, in wrapper
return fn(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/openobject/tools/_expose.py", line 182, in func_wrapper
res = func(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/openo2m.py", line 89, in create
form = self.create_form(params, tg_errors)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/controllers/openo2m.py", line 49, in create_form
form = tw.form_view.ViewForm(vp, name="view_form", action="/openerp/openo2m/save")
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form_view.py", line 90, in __init__
selectable=params.selectable or 2)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/screen.py", line 103, in __init__
self.add_view_id(self.view_id, self.view_type)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/screen.py", line 117, in add_view_id
self.add_view(view, view_type)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/screen.py", line 125, in add_view
self.widget = get_view_widget(view_type, self)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/_views.py", line 137, in get_view_widget
return view(screen)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/_views.py", line 66, in __call__
nodefault=screen.nodefault, nolinks=screen.link)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 805, in __init__
self.frame = self.parse(prefix, dom, fields, values)[0]
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 865, in parse
n = self.parse(prefix=prefix, root=node, fields=fields, values=values)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 869, in parse
n = self.parse(prefix=prefix, root=node, fields=fields, values=values)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 876, in parse
n = self.parse(prefix=prefix, root=node, fields=fields, values=values)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 908, in parse
field = self._make_field_widget(fields[name], values.get(name))
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 974, in _make_field_widget
field = get_widget(kind)(**attrs)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_o2m.py", line 202, in __init__
selectable=0, nolinks=self.link, _o2m=1)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/screen.py", line 103, in __init__
self.add_view_id(self.view_id, self.view_type)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/screen.py", line 117, in add_view_id
self.add_view(view, view_type)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/screen.py", line 125, in add_view
self.widget = get_view_widget(view_type, self)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/_views.py", line 137, in get_view_widget
return view(screen)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/_views.py", line 66, in __call__
nodefault=screen.nodefault, nolinks=screen.link)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 805, in __init__
self.frame = self.parse(prefix, dom, fields, values)[0]
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 865, in parse
n = self.parse(prefix=prefix, root=node, fields=fields, values=values)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 880, in parse
n = self.parse(prefix=prefix, root=node, fields=fields, values=values)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 908, in parse
field = self._make_field_widget(fields[name], values.get(name))
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_form.py", line 977, in _make_field_widget
field.set_value(value)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/widgets/form/_m2o.py", line 63, in set_value
self.text = rpc.name_get(self.relation, self.default, rpc.session.context)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc2-py2.6.egg/addons/openerp/utils/rpc.py", line 435, in name_get
name = name[0][1] or ''
IndexError: list index out of range
Best regards
Felix Schubert
References