From bb484405911fd0f14f84a3eaa98eac6389fe4f7a Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 11:43:33 +0530 Subject: [PATCH] fix: allow Employee role to select cost center & project (accounting dimensions) (backport #41160) (#41161) * fix: allow Employee role to select cost center & project (accounting dimensions) (cherry picked from commit d0d496a5152df5cd361d581e2b6794c6fd099e59) # Conflicts: # erpnext/accounts/doctype/cost_center/cost_center.json # erpnext/projects/doctype/project/project.json * chore: fix conflicts --------- Co-authored-by: Rucha Mahabal --- erpnext/accounts/doctype/cost_center/cost_center.json | 11 ++++++++++- erpnext/projects/doctype/project/project.json | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/cost_center/cost_center.json b/erpnext/accounts/doctype/cost_center/cost_center.json index 7cbb290947e..135f5fdcb3e 100644 --- a/erpnext/accounts/doctype/cost_center/cost_center.json +++ b/erpnext/accounts/doctype/cost_center/cost_center.json @@ -125,7 +125,7 @@ "idx": 1, "is_tree": 1, "links": [], - "modified": "2022-01-31 13:22:58.916273", + "modified": "2024-04-24 10:55:54.083042", "modified_by": "Administrator", "module": "Accounts", "name": "Cost Center", @@ -163,6 +163,15 @@ { "read": 1, "role": "Purchase User" + }, + { + "email": 1, + "export": 1, + "print": 1, + "report": 1, + "role": "Employee", + "select": 1, + "share": 1 } ], "search_fields": "parent_cost_center, is_group", diff --git a/erpnext/projects/doctype/project/project.json b/erpnext/projects/doctype/project/project.json index 8238af0ad16..2c74088a19e 100644 --- a/erpnext/projects/doctype/project/project.json +++ b/erpnext/projects/doctype/project/project.json @@ -452,7 +452,7 @@ "index_web_pages_for_search": 1, "links": [], "max_attachments": 4, - "modified": "2023-02-14 04:54:25.819620", + "modified": "2024-04-24 10:56:16.001032", "modified_by": "Administrator", "module": "Projects", "name": "Project", @@ -487,6 +487,15 @@ "role": "Projects Manager", "share": 1, "write": 1 + }, + { + "email": 1, + "export": 1, + "print": 1, + "report": 1, + "role": "Employee", + "select": 1, + "share": 1 } ], "quick_entry": 1,