c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08619
[Bug 691438] Re: Wrong domain set for act_window records.
Fixed on stable by revision 2162
jvo@xxxxxxxxxxx-20101217120616-1gkwsjyl8oblak4s.
** Changed in: openobject-server/5.0
Status: Confirmed => Fix Released
** Changed in: openobject-server/5.0
Milestone: None => 5.0.16
--
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:
Confirmed
Status in OpenObject Server 5.0 series:
Fix Released
Status in OpenObject Server trunk series:
Confirmed
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