Wrong domain set for act_window records.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Fix Released
|
Medium
|
Jay Vora (Serpent Consulting Services) | |||
Trunk |
Fix Released
|
Medium
|
OpenERP's Framework R&D |
Bug Description
Administration/Low Level Objects/
Search on action name 'sales' or 'all analytic entries'.
These entries have domain as '{}'.
Error could be faced while creating custom dashboard from Administration/
Assign an action which has '{}' domain.
Create a menu for dashboard.
It fails with this traceback:
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/
query = self._where_
File "/home/
domain = domain[:]
TypeError: unhashable type
Thanks.
Herewith is a patch attached.