← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 715485] Re: [PS] Product list view : filter : stock location

 

Hello Amit,
Putting widget="selection" for the field is not a good solution to make it working same in both gtk and web,
Probably there is a problem in web-client,
It crashes with following traceback when I search for any location in web-client:

09/Feb/2011:14:50:52] HTTP 
Request Headers:
  REFERER: http://localhost:8080/openerp/menu?active=73
  Content-Length: 889
  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=a984ebbb12568c7a5cb5d08846b9e84e9ee29daf; terp_db=latest; 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.5
  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
  ACCEPT-ENCODING: gzip,deflate
  KEEP-ALIVE: 115
[09/Feb/2011:14:50:52] HTTP Traceback (most recent call last):
  File "/home/rpa/projects/webclient/trunk/lib/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/home/rpa/projects/webclient/trunk/lib/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/rpa/projects/webclient/trunk/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/rpa/projects/webclient/trunk/openobject/controllers/_root.py", line 87, in default
    return request.handler()
  File "/home/rpa/projects/webclient/trunk/lib/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/rpa/projects/webclient/trunk/addons/openerp/controllers/utils.py", line 112, in wrapper
    return fn(*args, **kw)
  File "/home/rpa/projects/webclient/trunk/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/rpa/projects/webclient/trunk/addons/openerp/controllers/search.py", line 107, in eval_domain_and_context
    params, data = TinyDict.split(kw)
  File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 178, in split
    return _make_dict(params, True), _make_dict(data, False)
  File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 80, in _make_dict
    return make_dict_internal(data, is_params, set())
  File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 75, in make_dict_internal
    res[k] = make_dict_internal(v, is_params and isinstance(v, TinyDict), previous_dict_ids)
  File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 75, in make_dict_internal
    res[k] = make_dict_internal(v, is_params and isinstance(v, TinyDict), previous_dict_ids)
  File "/home/rpa/projects/webclient/trunk/addons/openerp/utils/utils.py", line 41, in make_dict_internal
    raise ValueError("Recursive dictionary detected, _make_dict does not handle recursive dictionaries.")
ValueError: Recursive dictionary detected, _make_dict does not handle recursive dictionaries.

Can you please check it again,
Thanks


** Changed in: openobject-addons
       Status: Confirmed => 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/715485

Title:
  [PS] Product list view : filter : stock location

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  6.0.1
  ubuntu

  Product list view : extended filter : stock location

  => client web : I've a m2o
  => gtk client : I've a text field

  The GTK client should also have a m2o

  Francois Pietquin
  Professional Services





References