From 41103a0622b72e2ce8bd76048659f99aeb523d30 Mon Sep 17 00:00:00 2001 From: iamkhanraheel Date: Tue, 14 Apr 2026 18:30:41 +0530 Subject: [PATCH] fix: default perm for HR manager & HR user --- 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,