openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17725
[Bug 900700] Re: traceback in hr dashboard after installing hr_timesheet_sheet
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/900700
Title:
traceback in hr dashboard after installing hr_timesheet_sheet
Status in OpenERP Addons (modules):
Fix Released
Bug description:
[niv] The bug was reported to only appear in some versions of Ubuntu
web, chome, trunk,
install hr_timesheet_sheet
go to Human Resource dashboard :
[2011-12-06 11:17:27,818][?] INFO:werkzeug:127.0.0.1 - - [06/Dec/2011 11:17:27] "POST /web/session/eval_domain_and_context HTTP/1.1" 200 -
[2011-12-06 11:17:27,848][?] ERROR:db.cursor:bad query: SELECT ir_actions."type",ir_actions.id FROM "ir_actions" WHERE ir_actions.id IN %s ORDER BY name
Traceback (most recent call last):
File "/home/aline/source/server/trunk/openerp/sql_db.py", line 215, in execute
res = self._obj.execute(query, params)
File "/usr/lib/python2.6/dist-packages/psycopg2/extensions.py", line 124, in getquoted
qobjs = [str(o.getquoted()) for o in pobjs]
AttributeError: 'str' object has no attribute 'getquoted'
[2011-12-06 11:17:27,848][?] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/aline/source/server/trunk/openerp/osv/orm.py", line 3345, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/aline/source/server/trunk/openerp/osv/orm.py", line 3404, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/aline/source/server/trunk/openerp/sql_db.py", line 153, in wrapper
return f(self, *args, **kwargs)
File "/home/aline/source/server/trunk/openerp/sql_db.py", line 215, in execute
res = self._obj.execute(query, params)
File "/usr/lib/python2.6/dist-packages/psycopg2/extensions.py", line 124, in getquoted
qobjs = [str(o.getquoted()) for o in pobjs]
AttributeError: 'str' object has no attribute 'getquoted'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/900700/+subscriptions