From 06401cc84fd0ffe8ab7e1cf7dec68544af72a3aa Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Mon, 27 May 2024 17:39:46 +0200 Subject: [PATCH 1/2] fix: allow Auditor to select a company --- erpnext/setup/doctype/company/company.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index 7b552d8a061..fb6021c5f18 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -779,7 +779,7 @@ "image_field": "company_logo", "is_tree": 1, "links": [], - "modified": "2024-05-16 12:39:54.694232", + "modified": "2024-05-27 17:32:49.057386", "modified_by": "Administrator", "module": "Setup", "name": "Company", @@ -835,6 +835,10 @@ "role": "Accounts Manager", "share": 1, "write": 1 + }, + { + "role": "Auditor", + "select": 1 } ], "show_name_in_global_search": 1, From eaa4efbc457678155efe710b1fc6bd12516dcb62 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Mon, 27 May 2024 17:40:08 +0200 Subject: [PATCH 2/2] fix: allow Auditor to read a Fiscal Year --- erpnext/accounts/doctype/fiscal_year/fiscal_year.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/fiscal_year/fiscal_year.json b/erpnext/accounts/doctype/fiscal_year/fiscal_year.json index 21091ebb7b8..fac8c725194 100644 --- a/erpnext/accounts/doctype/fiscal_year/fiscal_year.json +++ b/erpnext/accounts/doctype/fiscal_year/fiscal_year.json @@ -82,7 +82,7 @@ "icon": "fa fa-calendar", "idx": 1, "links": [], - "modified": "2024-01-30 12:35:38.645968", + "modified": "2024-05-27 17:29:55.560840", "modified_by": "Administrator", "module": "Accounts", "name": "Fiscal Year", @@ -127,6 +127,10 @@ { "read": 1, "role": "Stock Manager" + }, + { + "read": 1, + "role": "Auditor" } ], "show_name_in_global_search": 1,