← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 768106] [NEW] Got an error When one2many or many2many inside a one2many wizard

 

Public bug reported:

Got an error When one2many or many2many inside a one2many wizard .When
select data into the many2many , i got the below error .


  The above is a description of an error in a Python program.  Here is
the original traceback:

Traceback (most recent call last):
  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 "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/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 "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/addons/openerp/controllers/utils.py", line 112, in wrapper
    return fn(*args, **kw)
  File "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/addons/openerp/controllers/listgrid.py", line 285, in get
    wid = frm.screen.get_widgets_by_name(source, kind=listgrid.List)[0]
IndexError: list index out of range


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

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

-- 
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/768106

Title:
  Got an error When one2many or many2many inside a one2many wizard

Status in OpenERP Web Client:
  New

Bug description:
  Got an error When one2many or many2many inside a one2many wizard .When
  select data into the many2many , i got the below error .

  
    The above is a description of an error in a Python program.  Here is
  the original traceback:

  Traceback (most recent call last):
    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 "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/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 "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/addons/openerp/controllers/utils.py", line 112, in wrapper
      return fn(*args, **kw)
    File "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/home/anoop/Desktop/openerp6 documents/openerp 6_0_2/openerp-web-6.0.2/addons/openerp/controllers/listgrid.py", line 285, in get
      wid = frm.screen.get_widgets_by_name(source, kind=listgrid.List)[0]
  IndexError: list index out of range

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


Follow ups

References