← Back to team overview

openerp-india team mailing list archive

[Bug 755659] Re: an employee shouldn't be able to see all timesheet line

 

Go to Administration->Security->Record Rules
Create a new rule by choosing the object timesheet line, enter the domain 
['|',('user_id','=',user.id),('user_id','=',False)]
Add your access group ( My access group is Project Users)
Regards.

-- 
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/755659

Title:
  an employee shouldn't be able to see all timesheet line

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  - install hr_timesheet in a db with demo data
  - create a user with ony employee and prtner /manager groups
  - go to Human Resoucres / Time Tracking / Timesheet Lines
  - make clear
  - All timesheet lines appear -> it shoudn't. en employee shouldn't be able to see other employees records

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/755659/+subscriptions