feat(projects): add option to hide timesheets for project users (#46173)

* feat: add option to hide timesheets for project users

* Added a new "Hide timesheets" checkbox field to Project User doctype that allows to control timesheet visibility for specific users. When enabled, the timesheets section will not be displayed on the project page for that user.

* Update projects.html
This commit is contained in:
Marc Ramser
2025-03-19 09:04:15 +01:00
committed by GitHub
parent eb7cf2608c
commit f4aba561ce
3 changed files with 13 additions and 6 deletions

View File

@@ -12,6 +12,7 @@
"full_name",
"welcome_email_sent",
"view_attachments",
"hide_timesheets",
"section_break_5",
"project_status"
],
@@ -64,6 +65,13 @@
"in_list_view": 1,
"label": "View attachments"
},
{
"columns": 2,
"default": "0",
"fieldname": "hide_timesheets",
"fieldtype": "Check",
"label": "Hide timesheets"
},
{
"fieldname": "section_break_5",
"fieldtype": "Section Break"