From f02b3b61663f7734a3a2c27d033c697e28645a9a Mon Sep 17 00:00:00 2001 From: iamkhanraheel Date: Thu, 9 Apr 2026 19:15:45 +0530 Subject: [PATCH] fix: default perm for HR manager & HR user --- .../doctype/activity_type/activity_type.json | 21 ++++++++- erpnext/projects/doctype/task/task.json | 14 ++++-- .../projects/doctype/task_type/task_type.json | 16 ++++++- .../projects/doctype/timesheet/timesheet.json | 46 ++++++++++++------- erpnext/support/doctype/issue/issue.json | 11 ++++- 5 files changed, 83 insertions(+), 25 deletions(-) diff --git a/erpnext/projects/doctype/activity_type/activity_type.json b/erpnext/projects/doctype/activity_type/activity_type.json index ccca292ba77..299465439fd 100644 --- a/erpnext/projects/doctype/activity_type/activity_type.json +++ b/erpnext/projects/doctype/activity_type/activity_type.json @@ -47,7 +47,7 @@ "icon": "icon-flag", "idx": 1, "links": [], - "modified": "2024-08-16 19:22:57.706521", + "modified": "2026-04-09 19:11:53.918325", "modified_by": "Administrator", "module": "Projects", "name": "Activity Type", @@ -79,11 +79,28 @@ { "read": 1, "role": "Employee" + }, + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "HR Manager", + "share": 1, + "write": 1 + }, + { + "role": "HR User", + "select": 1 } ], "quick_entry": 1, + "row_format": "Dynamic", "sort_field": "creation", "sort_order": "ASC", "states": [], "translated_doctype": 1 -} \ No newline at end of file +} diff --git a/erpnext/projects/doctype/task/task.json b/erpnext/projects/doctype/task/task.json index db2fbe1695f..1cf8aeee8a8 100644 --- a/erpnext/projects/doctype/task/task.json +++ b/erpnext/projects/doctype/task/task.json @@ -423,7 +423,7 @@ "is_tree": 1, "links": [], "max_attachments": 5, - "modified": "2026-03-25 17:35:27.323503", + "modified": "2026-04-09 19:12:27.153143", "modified_by": "Administrator", "module": "Projects", "name": "Task", @@ -443,12 +443,18 @@ "write": 1 }, { - "read": 1, - "role": "HR User" + "role": "HR User", + "select": 1 }, { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, "read": 1, - "role": "HR Manager" + "role": "HR Manager", + "share": 1, + "write": 1 } ], "quick_entry": 1, diff --git a/erpnext/projects/doctype/task_type/task_type.json b/erpnext/projects/doctype/task_type/task_type.json index 86b5f17e8dd..340ef70e8cb 100644 --- a/erpnext/projects/doctype/task_type/task_type.json +++ b/erpnext/projects/doctype/task_type/task_type.json @@ -21,7 +21,7 @@ } ], "links": [], - "modified": "2024-03-27 13:10:51.823692", + "modified": "2026-04-09 19:13:08.572142", "modified_by": "Administrator", "module": "Projects", "name": "Task Type", @@ -60,11 +60,23 @@ "report": 1, "role": "Projects User", "share": 1 + }, + { + "create": 1, + "delete": 1, + "read": 1, + "role": "HR Manager", + "write": 1 + }, + { + "role": "HR User", + "select": 1 } ], "quick_entry": 1, + "row_format": "Dynamic", "sort_field": "creation", "sort_order": "ASC", "states": [], "track_changes": 1 -} \ No newline at end of file +} diff --git a/erpnext/projects/doctype/timesheet/timesheet.json b/erpnext/projects/doctype/timesheet/timesheet.json index bd38d7c6414..a703e6cd07f 100644 --- a/erpnext/projects/doctype/timesheet/timesheet.json +++ b/erpnext/projects/doctype/timesheet/timesheet.json @@ -315,7 +315,7 @@ "idx": 1, "is_submittable": 1, "links": [], - "modified": "2026-03-04 11:56:51.438298", + "modified": "2026-04-08 12:43:30.658074", "modified_by": "Administrator", "module": "Projects", "name": "Timesheet", @@ -336,21 +336,6 @@ "submit": 1, "write": 1 }, - { - "amend": 1, - "cancel": 1, - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "HR User", - "share": 1, - "submit": 1, - "write": 1 - }, { "amend": 1, "cancel": 1, @@ -389,6 +374,35 @@ "read": 1, "role": "Accounts User", "write": 1 + }, + { + "amend": 1, + "cancel": 1, + "create": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "HR User", + "share": 1, + "submit": 1, + "write": 1 + }, + { + "amend": 1, + "cancel": 1, + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "HR Manager", + "share": 1, + "submit": 1, + "write": 1 } ], "row_format": "Dynamic", diff --git a/erpnext/support/doctype/issue/issue.json b/erpnext/support/doctype/issue/issue.json index 958cab52be0..fed181386ff 100644 --- a/erpnext/support/doctype/issue/issue.json +++ b/erpnext/support/doctype/issue/issue.json @@ -393,7 +393,7 @@ "icon": "fa fa-ticket", "idx": 7, "links": [], - "modified": "2025-09-25 11:10:53.556731", + "modified": "2026-04-09 19:14:57.692236", "modified_by": "Administrator", "module": "Support", "name": "Issue", @@ -410,9 +410,18 @@ "role": "Support Team", "share": 1, "write": 1 + }, + { + "role": "HR Manager", + "select": 1 + }, + { + "role": "HR User", + "select": 1 } ], "quick_entry": 1, + "row_format": "Dynamic", "search_fields": "status,customer,subject,raised_by", "sender_field": "raised_by", "sort_field": "creation",