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 C2C
OERPScenario, which is subscribed to OpenERP Project Group.
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
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp