c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #08537
[Bug 691438] [NEW] Wrong domain set for act_window records.
Public bug reported:
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.
** Affects: openobject-server
Importance: Medium
Assignee: OpenERP's Framework R&D (openerp-dev-framework)
Status: Confirmed
** Affects: openobject-server/5.0
Importance: Medium
Assignee: Jay (OpenERP) (jvo-openerp)
Status: Confirmed
** Affects: openobject-server/trunk
Importance: Medium
Assignee: OpenERP's Framework R&D (openerp-dev-framework)
Status: Confirmed
** Also affects: openobject-server/5.0
Importance: Undecided
Status: New
** Also affects: openobject-server/trunk
Importance: Undecided
Status: New
** Changed in: openobject-server/5.0
Importance: Undecided => Medium
** Changed in: openobject-server/trunk
Importance: Undecided => Medium
** Changed in: openobject-server/trunk
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
** Changed in: openobject-server/trunk
Status: New => Confirmed
** Changed in: openobject-server/5.0
Status: New => Confirmed
--
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:
Confirmed
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.
Follow ups
References