From 0d6d64ff0571e65734460e969bc16c2d0af62527 Mon Sep 17 00:00:00 2001 From: iamkhanraheel Date: Tue, 24 Mar 2026 19:57:42 +0530 Subject: [PATCH 1/6] fix: default permission for HR User role (cherry picked from commit 7b0bfe76cc4ee573d2e9e8a2890f5fae5d67fcce) --- erpnext/accounts/doctype/account/account.json | 7 ++++++- erpnext/accounts/doctype/cost_center/cost_center.json | 9 +++++++-- .../doctype/mode_of_payment/mode_of_payment.json | 10 ++++++++-- erpnext/projects/doctype/project/project.json | 6 +++++- erpnext/projects/doctype/task/task.json | 6 +++++- erpnext/setup/doctype/company/company.json | 7 ++++++- erpnext/setup/doctype/holiday_list/holiday_list.json | 6 +++++- .../terms_and_conditions/terms_and_conditions.json | 9 +++++++-- 8 files changed, 49 insertions(+), 11 deletions(-) diff --git a/erpnext/accounts/doctype/account/account.json b/erpnext/accounts/doctype/account/account.json index 8b74dd823ec..7908fe9cbab 100644 --- a/erpnext/accounts/doctype/account/account.json +++ b/erpnext/accounts/doctype/account/account.json @@ -203,7 +203,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2025-08-02 06:26:44.657146", + "modified": "2026-03-24 12:43:45.708738", "modified_by": "Administrator", "module": "Accounts", "name": "Account", @@ -256,6 +256,11 @@ "role": "Accounts Manager", "share": 1, "write": 1 + }, + { + "read": 1, + "report": 1, + "role": "HR User" } ], "row_format": "Dynamic", diff --git a/erpnext/accounts/doctype/cost_center/cost_center.json b/erpnext/accounts/doctype/cost_center/cost_center.json index 8a84e2c4c01..744fee4e003 100644 --- a/erpnext/accounts/doctype/cost_center/cost_center.json +++ b/erpnext/accounts/doctype/cost_center/cost_center.json @@ -126,7 +126,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2025-01-22 10:46:42.904001", + "modified": "2026-03-24 12:44:03.297998", "modified_by": "Administrator", "module": "Accounts", "name": "Cost Center", @@ -173,11 +173,16 @@ "role": "Employee", "select": 1, "share": 1 + }, + { + "read": 1, + "role": "HR User" } ], + "row_format": "Dynamic", "search_fields": "parent_cost_center, is_group", "show_name_in_global_search": 1, "sort_field": "creation", "sort_order": "ASC", "states": [] -} \ No newline at end of file +} diff --git a/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json index f7e7fc414bd..134fc3d1751 100644 --- a/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json +++ b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json @@ -48,7 +48,7 @@ "idx": 1, "index_web_pages_for_search": 1, "links": [], - "modified": "2024-08-16 19:22:42.942264", + "modified": "2026-03-24 12:48:15.343727", "modified_by": "Administrator", "module": "Accounts", "name": "Mode of Payment", @@ -68,12 +68,18 @@ "read": 1, "report": 1, "role": "Accounts User" + }, + { + "read": 1, + "report": 1, + "role": "HR User" } ], "quick_entry": 1, + "row_format": "Dynamic", "show_name_in_global_search": 1, "sort_field": "creation", "sort_order": "ASC", "states": [], "translated_doctype": 1 -} \ No newline at end of file +} diff --git a/erpnext/projects/doctype/project/project.json b/erpnext/projects/doctype/project/project.json index e36e15f71f5..1525c07771e 100644 --- a/erpnext/projects/doctype/project/project.json +++ b/erpnext/projects/doctype/project/project.json @@ -480,7 +480,7 @@ "index_web_pages_for_search": 1, "links": [], "max_attachments": 4, - "modified": "2026-03-09 17:15:24.426294", + "modified": "2026-03-24 12:52:03.156389", "modified_by": "Administrator", "module": "Projects", "name": "Project", @@ -524,6 +524,10 @@ "role": "Employee", "select": 1, "share": 1 + }, + { + "read": 1, + "role": "HR User" } ], "quick_entry": 1, diff --git a/erpnext/projects/doctype/task/task.json b/erpnext/projects/doctype/task/task.json index 9335a196989..c9071e01435 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-04 11:47:10.454548", + "modified": "2026-03-24 12:57:46.063009", "modified_by": "Administrator", "module": "Projects", "name": "Task", @@ -441,6 +441,10 @@ "role": "Projects User", "share": 1, "write": 1 + }, + { + "read": 1, + "role": "HR User" } ], "quick_entry": 1, diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index ab64635c048..ddce64615e7 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -970,7 +970,7 @@ "image_field": "company_logo", "is_tree": 1, "links": [], - "modified": "2026-03-09 17:15:33.819426", + "modified": "2026-03-24 12:44:15.614147", "modified_by": "Administrator", "module": "Setup", "name": "Company", @@ -1030,6 +1030,11 @@ { "role": "Auditor", "select": 1 + }, + { + "read": 1, + "report": 1, + "role": "HR User" } ], "row_format": "Dynamic", diff --git a/erpnext/setup/doctype/holiday_list/holiday_list.json b/erpnext/setup/doctype/holiday_list/holiday_list.json index dd7955f4c40..9728d1a9306 100644 --- a/erpnext/setup/doctype/holiday_list/holiday_list.json +++ b/erpnext/setup/doctype/holiday_list/holiday_list.json @@ -153,7 +153,7 @@ "icon": "fa fa-calendar", "idx": 1, "links": [], - "modified": "2025-08-28 15:17:05.313383", + "modified": "2026-03-24 13:05:44.681123", "modified_by": "Administrator", "module": "Setup", "name": "Holiday List", @@ -170,6 +170,10 @@ "role": "HR Manager", "share": 1, "write": 1 + }, + { + "read": 1, + "role": "HR User" } ], "row_format": "Dynamic", diff --git a/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json index 335780a0b05..444b9aee85e 100644 --- a/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json +++ b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json @@ -77,7 +77,7 @@ "icon": "icon-legal", "idx": 1, "links": [], - "modified": "2024-03-27 13:10:53.065872", + "modified": "2026-03-24 16:36:37.021007", "modified_by": "Administrator", "module": "Setup", "name": "Terms and Conditions", @@ -130,11 +130,16 @@ { "read": 1, "role": "Stock User" + }, + { + "read": 1, + "role": "HR User" } ], "quick_entry": 1, + "row_format": "Dynamic", "show_name_in_global_search": 1, "sort_field": "creation", "sort_order": "ASC", "states": [] -} \ No newline at end of file +} From 534891aac4b291bd2e510cada37367cc1dffb8ad Mon Sep 17 00:00:00 2001 From: iamkhanraheel Date: Thu, 26 Mar 2026 17:23:54 +0530 Subject: [PATCH 2/6] fix: default permission for HR manager role (cherry picked from commit 5ec66169a7ad6873990c7a591f3a2f22da8815da) --- erpnext/accounts/doctype/account/account.json | 7 ++++- .../doctype/cost_center/cost_center.json | 6 +++- .../mode_of_payment/mode_of_payment.json | 7 +++-- erpnext/projects/doctype/project/project.json | 6 +++- erpnext/projects/doctype/task/task.json | 6 +++- erpnext/setup/doctype/company/company.json | 11 ++++++- .../doctype/designation/designation.json | 16 ++++++++-- erpnext/setup/doctype/driver/driver.json | 29 ++----------------- .../employee_group/employee_group.json | 21 ++++++++++++-- .../terms_and_conditions.json | 8 ++++- 10 files changed, 79 insertions(+), 38 deletions(-) diff --git a/erpnext/accounts/doctype/account/account.json b/erpnext/accounts/doctype/account/account.json index 7908fe9cbab..d00c35bc489 100644 --- a/erpnext/accounts/doctype/account/account.json +++ b/erpnext/accounts/doctype/account/account.json @@ -203,7 +203,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2026-03-24 12:43:45.708738", + "modified": "2026-03-25 17:27:39.304619", "modified_by": "Administrator", "module": "Accounts", "name": "Account", @@ -261,6 +261,11 @@ "read": 1, "report": 1, "role": "HR User" + }, + { + "read": 1, + "report": 1, + "role": "HR Manager" } ], "row_format": "Dynamic", diff --git a/erpnext/accounts/doctype/cost_center/cost_center.json b/erpnext/accounts/doctype/cost_center/cost_center.json index 744fee4e003..1d640e76a03 100644 --- a/erpnext/accounts/doctype/cost_center/cost_center.json +++ b/erpnext/accounts/doctype/cost_center/cost_center.json @@ -126,7 +126,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2026-03-24 12:44:03.297998", + "modified": "2026-03-25 17:26:40.657146", "modified_by": "Administrator", "module": "Accounts", "name": "Cost Center", @@ -177,6 +177,10 @@ { "read": 1, "role": "HR User" + }, + { + "read": 1, + "role": "HR Manager" } ], "row_format": "Dynamic", diff --git a/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json index 134fc3d1751..86dc0f20dba 100644 --- a/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json +++ b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json @@ -48,7 +48,7 @@ "idx": 1, "index_web_pages_for_search": 1, "links": [], - "modified": "2026-03-24 12:48:15.343727", + "modified": "2026-03-25 17:34:25.721556", "modified_by": "Administrator", "module": "Accounts", "name": "Mode of Payment", @@ -71,8 +71,11 @@ }, { "read": 1, - "report": 1, "role": "HR User" + }, + { + "read": 1, + "role": "HR Manager" } ], "quick_entry": 1, diff --git a/erpnext/projects/doctype/project/project.json b/erpnext/projects/doctype/project/project.json index 1525c07771e..32b9174e916 100644 --- a/erpnext/projects/doctype/project/project.json +++ b/erpnext/projects/doctype/project/project.json @@ -480,7 +480,7 @@ "index_web_pages_for_search": 1, "links": [], "max_attachments": 4, - "modified": "2026-03-24 12:52:03.156389", + "modified": "2026-03-25 17:32:36.262980", "modified_by": "Administrator", "module": "Projects", "name": "Project", @@ -528,6 +528,10 @@ { "read": 1, "role": "HR User" + }, + { + "read": 1, + "role": "HR Manager" } ], "quick_entry": 1, diff --git a/erpnext/projects/doctype/task/task.json b/erpnext/projects/doctype/task/task.json index c9071e01435..db2fbe1695f 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-24 12:57:46.063009", + "modified": "2026-03-25 17:35:27.323503", "modified_by": "Administrator", "module": "Projects", "name": "Task", @@ -445,6 +445,10 @@ { "read": 1, "role": "HR User" + }, + { + "read": 1, + "role": "HR Manager" } ], "quick_entry": 1, diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index ddce64615e7..e901593aada 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -970,7 +970,7 @@ "image_field": "company_logo", "is_tree": 1, "links": [], - "modified": "2026-03-24 12:44:15.614147", + "modified": "2026-03-25 17:23:35.604282", "modified_by": "Administrator", "module": "Setup", "name": "Company", @@ -1035,6 +1035,15 @@ "read": 1, "report": 1, "role": "HR User" + }, + { + "create": 1, + "export": 1, + "import": 1, + "read": 1, + "report": 1, + "role": "HR Manager", + "write": 1 } ], "row_format": "Dynamic", diff --git a/erpnext/setup/doctype/designation/designation.json b/erpnext/setup/doctype/designation/designation.json index ed37131fb55..8d767cde46e 100644 --- a/erpnext/setup/doctype/designation/designation.json +++ b/erpnext/setup/doctype/designation/designation.json @@ -31,7 +31,7 @@ "icon": "fa fa-bookmark", "idx": 1, "links": [], - "modified": "2024-03-27 13:06:51.361961", + "modified": "2026-03-26 14:59:26.816846", "modified_by": "Administrator", "module": "Setup", "name": "Designation", @@ -52,12 +52,24 @@ { "read": 1, "role": "Sales User" + }, + { + "create": 1, + "delete": 1, + "email": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "HR Manager", + "share": 1, + "write": 1 } ], "quick_entry": 1, + "row_format": "Dynamic", "show_name_in_global_search": 1, "sort_field": "creation", "sort_order": "ASC", "states": [], "translated_doctype": 1 -} \ No newline at end of file +} diff --git a/erpnext/setup/doctype/driver/driver.json b/erpnext/setup/doctype/driver/driver.json index 342ca730637..9fc83ef2ec9 100644 --- a/erpnext/setup/doctype/driver/driver.json +++ b/erpnext/setup/doctype/driver/driver.json @@ -129,7 +129,7 @@ ], "icon": "fa fa-user", "links": [], - "modified": "2024-03-27 13:08:18.825438", + "modified": "2026-03-26 14:45:09.568829", "modified_by": "Administrator", "module": "Setup", "name": "Driver", @@ -144,30 +144,6 @@ "role": "Fleet Manager", "share": 1 }, - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "HR User", - "share": 1, - "write": 1 - }, - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "HR Manager", - "share": 1, - "write": 1 - }, { "print": 1, "read": 1, @@ -186,6 +162,7 @@ } ], "quick_entry": 1, + "row_format": "Dynamic", "search_fields": "full_name", "show_name_in_global_search": 1, "sort_field": "creation", @@ -193,4 +170,4 @@ "states": [], "title_field": "full_name", "track_changes": 1 -} \ No newline at end of file +} diff --git a/erpnext/setup/doctype/employee_group/employee_group.json b/erpnext/setup/doctype/employee_group/employee_group.json index 0114e93433e..7e5a504674b 100644 --- a/erpnext/setup/doctype/employee_group/employee_group.json +++ b/erpnext/setup/doctype/employee_group/employee_group.json @@ -32,7 +32,7 @@ } ], "links": [], - "modified": "2024-03-27 13:09:39.303885", + "modified": "2026-03-26 17:22:45.737955", "modified_by": "Administrator", "module": "Setup", "name": "Employee Group", @@ -49,11 +49,28 @@ "role": "System Manager", "share": 1, "write": 1 + }, + { + "create": 1, + "delete": 1, + "email": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "HR Manager", + "share": 1, + "write": 1 + }, + { + "read": 1, + "role": "HR User", + "write": 1 } ], "quick_entry": 1, + "row_format": "Dynamic", "sort_field": "creation", "sort_order": "DESC", "states": [], "track_changes": 1 -} \ No newline at end of file +} diff --git a/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json index 444b9aee85e..7226ccb76a3 100644 --- a/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json +++ b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json @@ -77,7 +77,7 @@ "icon": "icon-legal", "idx": 1, "links": [], - "modified": "2026-03-24 16:36:37.021007", + "modified": "2026-03-26 16:11:17.367505", "modified_by": "Administrator", "module": "Setup", "name": "Terms and Conditions", @@ -134,6 +134,12 @@ { "read": 1, "role": "HR User" + }, + { + "create": 1, + "read": 1, + "role": "HR Manager", + "write": 1 } ], "quick_entry": 1, From a7b1fec21dcb4609cab5f62a02926efc7232227c Mon Sep 17 00:00:00 2001 From: iamkhanraheel Date: Thu, 9 Apr 2026 19:15:45 +0530 Subject: [PATCH 3/6] fix: default perm for HR manager & HR user (cherry picked from commit f02b3b61663f7734a3a2c27d033c697e28645a9a) --- .../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", From 95213fb9b830b7de9e324d7724867633804fbca4 Mon Sep 17 00:00:00 2001 From: iamkhanraheel Date: Tue, 14 Apr 2026 18:30:41 +0530 Subject: [PATCH 4/6] fix: default perm for HR manager & HR user (cherry picked from commit 41103a0622b72e2ce8bd76048659f99aeb523d30) --- erpnext/accounts/doctype/account/account.json | 12 +++++------- .../accounts/doctype/cost_center/cost_center.json | 10 +++++----- .../doctype/mode_of_payment/mode_of_payment.json | 10 +++++----- erpnext/projects/doctype/project/project.json | 10 +++++----- erpnext/setup/doctype/company/company.json | 7 +++---- erpnext/setup/doctype/designation/designation.json | 3 +-- erpnext/setup/doctype/holiday_list/holiday_list.json | 6 +++--- .../terms_and_conditions/terms_and_conditions.json | 6 +++--- 8 files changed, 30 insertions(+), 34 deletions(-) diff --git a/erpnext/accounts/doctype/account/account.json b/erpnext/accounts/doctype/account/account.json index d00c35bc489..a5f8d60cf4b 100644 --- a/erpnext/accounts/doctype/account/account.json +++ b/erpnext/accounts/doctype/account/account.json @@ -203,7 +203,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2026-03-25 17:27:39.304619", + "modified": "2026-04-14 18:14:42.202065", "modified_by": "Administrator", "module": "Accounts", "name": "Account", @@ -258,14 +258,12 @@ "write": 1 }, { - "read": 1, - "report": 1, - "role": "HR User" + "role": "HR User", + "select": 1 }, { - "read": 1, - "report": 1, - "role": "HR Manager" + "role": "HR Manager", + "select": 1 } ], "row_format": "Dynamic", diff --git a/erpnext/accounts/doctype/cost_center/cost_center.json b/erpnext/accounts/doctype/cost_center/cost_center.json index 1d640e76a03..bb69300ff8c 100644 --- a/erpnext/accounts/doctype/cost_center/cost_center.json +++ b/erpnext/accounts/doctype/cost_center/cost_center.json @@ -126,7 +126,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2026-03-25 17:26:40.657146", + "modified": "2026-04-14 18:15:27.367298", "modified_by": "Administrator", "module": "Accounts", "name": "Cost Center", @@ -175,12 +175,12 @@ "share": 1 }, { - "read": 1, - "role": "HR User" + "role": "HR User", + "select": 1 }, { - "read": 1, - "role": "HR Manager" + "role": "HR Manager", + "select": 1 } ], "row_format": "Dynamic", diff --git a/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json index 86dc0f20dba..ec03452e56a 100644 --- a/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json +++ b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json @@ -48,7 +48,7 @@ "idx": 1, "index_web_pages_for_search": 1, "links": [], - "modified": "2026-03-25 17:34:25.721556", + "modified": "2026-04-14 18:16:47.795986", "modified_by": "Administrator", "module": "Accounts", "name": "Mode of Payment", @@ -70,12 +70,12 @@ "role": "Accounts User" }, { - "read": 1, - "role": "HR User" + "role": "HR User", + "select": 1 }, { - "read": 1, - "role": "HR Manager" + "role": "HR Manager", + "select": 1 } ], "quick_entry": 1, diff --git a/erpnext/projects/doctype/project/project.json b/erpnext/projects/doctype/project/project.json index 32b9174e916..95bf037c5e5 100644 --- a/erpnext/projects/doctype/project/project.json +++ b/erpnext/projects/doctype/project/project.json @@ -480,7 +480,7 @@ "index_web_pages_for_search": 1, "links": [], "max_attachments": 4, - "modified": "2026-03-25 17:32:36.262980", + "modified": "2026-04-14 18:17:40.676750", "modified_by": "Administrator", "module": "Projects", "name": "Project", @@ -526,12 +526,12 @@ "share": 1 }, { - "read": 1, - "role": "HR User" + "role": "HR User", + "select": 1 }, { - "read": 1, - "role": "HR Manager" + "role": "HR Manager", + "select": 1 } ], "quick_entry": 1, diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index e901593aada..a38310fb3ad 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -970,7 +970,7 @@ "image_field": "company_logo", "is_tree": 1, "links": [], - "modified": "2026-03-25 17:23:35.604282", + "modified": "2026-04-14 18:13:20.811422", "modified_by": "Administrator", "module": "Setup", "name": "Company", @@ -1032,9 +1032,8 @@ "select": 1 }, { - "read": 1, - "report": 1, - "role": "HR User" + "role": "HR User", + "select": 1 }, { "create": 1, diff --git a/erpnext/setup/doctype/designation/designation.json b/erpnext/setup/doctype/designation/designation.json index 8d767cde46e..001fed22a9f 100644 --- a/erpnext/setup/doctype/designation/designation.json +++ b/erpnext/setup/doctype/designation/designation.json @@ -31,7 +31,7 @@ "icon": "fa fa-bookmark", "idx": 1, "links": [], - "modified": "2026-03-26 14:59:26.816846", + "modified": "2026-04-14 18:19:34.405635", "modified_by": "Administrator", "module": "Setup", "name": "Designation", @@ -40,7 +40,6 @@ "permissions": [ { "create": 1, - "delete": 1, "email": 1, "print": 1, "read": 1, diff --git a/erpnext/setup/doctype/holiday_list/holiday_list.json b/erpnext/setup/doctype/holiday_list/holiday_list.json index 9728d1a9306..fb4feba4872 100644 --- a/erpnext/setup/doctype/holiday_list/holiday_list.json +++ b/erpnext/setup/doctype/holiday_list/holiday_list.json @@ -153,7 +153,7 @@ "icon": "fa fa-calendar", "idx": 1, "links": [], - "modified": "2026-03-24 13:05:44.681123", + "modified": "2026-04-14 18:21:08.018741", "modified_by": "Administrator", "module": "Setup", "name": "Holiday List", @@ -172,8 +172,8 @@ "write": 1 }, { - "read": 1, - "role": "HR User" + "role": "HR User", + "select": 1 } ], "row_format": "Dynamic", diff --git a/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json index 7226ccb76a3..6539aa45861 100644 --- a/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json +++ b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json @@ -77,7 +77,7 @@ "icon": "icon-legal", "idx": 1, "links": [], - "modified": "2026-03-26 16:11:17.367505", + "modified": "2026-04-14 18:22:49.285298", "modified_by": "Administrator", "module": "Setup", "name": "Terms and Conditions", @@ -132,8 +132,8 @@ "role": "Stock User" }, { - "read": 1, - "role": "HR User" + "role": "HR User", + "select": 1 }, { "create": 1, From 4940aeb71212bb37726b0443dcced964be794e03 Mon Sep 17 00:00:00 2001 From: iamkhanraheel Date: Fri, 17 Apr 2026 15:39:42 +0530 Subject: [PATCH 5/6] fix: remove unwanted perm for HR user role (cherry picked from commit d26cd69fe5fce3179477c5d2c097c1c70ea91cc9) --- erpnext/projects/doctype/activity_type/activity_type.json | 6 +----- erpnext/projects/doctype/task_type/task_type.json | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/erpnext/projects/doctype/activity_type/activity_type.json b/erpnext/projects/doctype/activity_type/activity_type.json index 299465439fd..8c1bf2d3392 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": "2026-04-09 19:11:53.918325", + "modified": "2026-04-17 15:24:16.754519", "modified_by": "Administrator", "module": "Projects", "name": "Activity Type", @@ -91,10 +91,6 @@ "role": "HR Manager", "share": 1, "write": 1 - }, - { - "role": "HR User", - "select": 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 340ef70e8cb..bc65b4f6a3e 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": "2026-04-09 19:13:08.572142", + "modified": "2026-04-17 15:32:28.598095", "modified_by": "Administrator", "module": "Projects", "name": "Task Type", @@ -67,10 +67,6 @@ "read": 1, "role": "HR Manager", "write": 1 - }, - { - "role": "HR User", - "select": 1 } ], "quick_entry": 1, From 47abaf70b24b588aad481df30afe4b799934f556 Mon Sep 17 00:00:00 2001 From: iamkhanraheel Date: Fri, 17 Apr 2026 17:13:51 +0530 Subject: [PATCH 6/6] fix: default company perms for HR manager (cherry picked from commit 2018a90ad8f30d343a153d0c52ba5615118f2247) --- erpnext/setup/doctype/company/company.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index a38310fb3ad..37eda038e3b 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -970,7 +970,7 @@ "image_field": "company_logo", "is_tree": 1, "links": [], - "modified": "2026-04-14 18:13:20.811422", + "modified": "2026-04-17 17:11:46.586135", "modified_by": "Administrator", "module": "Setup", "name": "Company", @@ -1036,9 +1036,6 @@ "select": 1 }, { - "create": 1, - "export": 1, - "import": 1, "read": 1, "report": 1, "role": "HR Manager",