Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/14/13, 4:12 PM|
|Seen: 2134 times|
|Last updated: 3/16/15, 8:10 AM|