Hello , Would you please check this issue with latest code. Because I have try it but not able to face it. Following Revision information of latest version:
server:3404 ; client:1835 ; addons:4537 Thanks. -- 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/716402 Title: hr_timesheet_sheet record gives TypeError: 'bool' object is unsubscriptable error while open from Users'managers login Status in OpenERP Modules (addons): Invalid Bug description: Hello In hr_timesheet_sheet module when any employee encode his/her timesheet. now for timesheet approve when hr_user's manager check and try to open that timesheet record from list view. Following errors throws RRR ('2011-02-10', 11) [2011-02-10 17:39:18,406][hr_6] ERROR:web-services:Uncaught exception Traceback (most recent call last): File "/home/cgs/workspace/openerp-6.0/server-6.0/bin/osv/osv.py", line 122, in wrapper return f(self, dbname, *args, **kwargs) File "/home/cgs/workspace/openerp-6.0/server-6.0/bin/osv/osv.py", line 176, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/cgs/workspace/openerp-6.0/server-6.0/bin/osv/osv.py", line 167, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/cgs/workspace/openerp-6.0/server-6.0/bin/osv/orm.py", line 2921, in read result = self._read_flat(cr, user, select, fields, context, load) File "/home/cgs/workspace/openerp-6.0/server-6.0/bin/osv/orm.py", line 3041, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "/home/cgs/workspace/openerp-6.0/server-6.0/bin/addons/hr_timesheet_sheet/hr_timesheet_sheet.py", line 42, in get for rec in obj.read(cr, user, ids, ['date_current', 'user_id'], context=context)]) TypeError: 'bool' object is unsubscriptable TERP CALLING object execute ('hr_6', 10, 'ram', 'maintenance.contract', 'status' Thanking you pritesh modi _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

