Is it possible to suppress the possibility for an employee to seize timesheet for another employee ? I'd like to maintain this functionnality only for the HR Manager / Officer groups. Thanks
The default rule is just set for the object "hr.analytic.timesheet".
If you want to block a user from entering the timesheet for another user in the view "Time Tracking > My Current Timesheet" you have to create a new rule under Settings > Technical > Security > Record Rules: - Object: hr_timesheet_sheet.sheet - Access rights: Apply for Read / Write / Create / Delete - Rule definition: [('user_id', '=', user.id)] - Groups: Human Resources / Employee
If you want to let the HR Manager to enter timesheets for any user with the same menu, you have to create a similar rule with rule definition [(1, '=', 1)] and group Human Resources / Manager.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/14/13, 4:12 PM|
|Seen: 1481 times|
|Last updated: 3/16/15, 8:10 AM|