c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #22385
[Bug 716402] Re: hr_timesheet_sheet record gives TypeError: 'bool' object is unsubscriptable error while open from Users'managers login
Hello Devishree
Thanks for looking into this bug/post , i seen Your video its
working fine .now i am sending u my application video which i getting by
following above scenario .
check out the attachment
thanks
pritesh
** Attachment added: "out.ogv"
https://bugs.launchpad.net/openobject-addons/+bug/716402/+attachment/2078480/+files/out.ogv
--
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
References