Timesheet and privliage

i have a scenario where we have 3 section

  • IT Team

  • Support Team

  • Mark-ting Team

every department have manger so we have 3 manger (IT manager - Support Manager - Mark-ting Manger)

i need every manger to be able to see the timesheet only for his department
and users cannot see the other users timesheet but only see themself

is it possible ?

any suggestions dears ?

Hello,

Perhaps you should insert Custom Link field in the Timesheet of Department. When the User is entering Timesheet, he/she should also select Department it belongs to.

Once this information is available, you can restrict the Manager based on the value in the Department field.

https://www.youtube.com/watch?v=fnBoRhBrwR4

For the Users, you can apply Owner permission on Timesheets.

https://frappe.github.io/erpnext/user/manual/en/customize-erpnext/articles/user-restriction

thanks a lot dear

i will try and tell you what i get