← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 691438] Re: Wrong domain set for act_window records.

 

Applied in trunk at rev 3134 odo@xxxxxxxxxxx-20101220172656-i8cgliwnt7g1dyh6  (I think bzr-rebase screwed up my previous merge, so this commit includes another merge as well, sorry about that)
Thanks!

** Changed in: openobject-server/trunk
       Status: Confirmed => Fix Released

** Changed in: openobject-server/trunk
    Milestone: None => 6.0-rc2

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

Title:
  Wrong domain set for act_window records.

Status in OpenObject Server:
  Fix Released
Status in OpenObject Server 5.0 series:
  Fix Released
Status in OpenObject Server trunk series:
  Fix Released

Bug description:
  Administration/Low Level Objects/Actions/Window Actions

Search on action name 'sales' or 'all analytic entries'.

These entries have domain as '{}'.

Error could be faced while creating custom dashboard from Administration/Customization/Reporting/Dashboard Definition.

Assign an action which has '{}' domain.

Create a menu for dashboard.

It fails with this traceback:

Traceback (most recent call last):
  File "/home/jvo/workspace/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/jvo/workspace/trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/jvo/workspace/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/jvo/workspace/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/jvo/workspace/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/jvo/workspace/trunk/server/bin/osv/orm.py", line 1870, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/jvo/workspace/trunk/server/bin/osv/orm.py", line 4085, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/home/jvo/workspace/trunk/server/bin/osv/orm.py", line 3931, in _where_calc
    domain = domain[:]
TypeError: unhashable type

Thanks.





References