From 18b6d50a31207f1b7e089fe621f48214b4792b11 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/3] fix: allow Auditor to select a company (cherry picked from commit 06401cc84fd0ffe8ab7e1cf7dec68544af72a3aa) # Conflicts: # erpnext/setup/doctype/company/company.json --- erpnext/setup/doctype/company/company.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index 349c328c06c..7b300d57195 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -712,7 +712,11 @@ "image_field": "company_logo", "is_tree": 1, "links": [], +<<<<<<< HEAD "modified": "2023-10-23 10:19:24.322898", +======= + "modified": "2024-05-27 17:32:49.057386", +>>>>>>> 06401cc84f (fix: allow Auditor to select a company) "modified_by": "Administrator", "module": "Setup", "name": "Company", @@ -768,6 +772,10 @@ "role": "Accounts Manager", "share": 1, "write": 1 + }, + { + "role": "Auditor", + "select": 1 } ], "show_name_in_global_search": 1, From b1a911aa9ce2e339aa7b8054c4fd6eb6e4b24e4e 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/3] fix: allow Auditor to read a Fiscal Year (cherry picked from commit eaa4efbc457678155efe710b1fc6bd12516dcb62) # Conflicts: # erpnext/accounts/doctype/fiscal_year/fiscal_year.json --- erpnext/accounts/doctype/fiscal_year/fiscal_year.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/erpnext/accounts/doctype/fiscal_year/fiscal_year.json b/erpnext/accounts/doctype/fiscal_year/fiscal_year.json index ff4ac50850f..24962f2088e 100644 --- a/erpnext/accounts/doctype/fiscal_year/fiscal_year.json +++ b/erpnext/accounts/doctype/fiscal_year/fiscal_year.json @@ -82,7 +82,11 @@ "icon": "fa fa-calendar", "idx": 1, "links": [], +<<<<<<< HEAD "modified": "2020-11-05 12:16:53.081573", +======= + "modified": "2024-05-27 17:29:55.560840", +>>>>>>> eaa4efbc45 (fix: allow Auditor to read a Fiscal Year) "modified_by": "Administrator", "module": "Accounts", "name": "Fiscal Year", @@ -126,6 +130,10 @@ { "read": 1, "role": "Stock Manager" + }, + { + "read": 1, + "role": "Auditor" } ], "show_name_in_global_search": 1, From a53a80f01d79d0d998405155edccbecbd8133a7b Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Mon, 27 May 2024 18:54:17 +0200 Subject: [PATCH 3/3] chore: resolve conflicts --- erpnext/accounts/doctype/fiscal_year/fiscal_year.json | 4 ---- erpnext/setup/doctype/company/company.json | 4 ---- 2 files changed, 8 deletions(-) diff --git a/erpnext/accounts/doctype/fiscal_year/fiscal_year.json b/erpnext/accounts/doctype/fiscal_year/fiscal_year.json index 24962f2088e..496dd44ad86 100644 --- a/erpnext/accounts/doctype/fiscal_year/fiscal_year.json +++ b/erpnext/accounts/doctype/fiscal_year/fiscal_year.json @@ -82,11 +82,7 @@ "icon": "fa fa-calendar", "idx": 1, "links": [], -<<<<<<< HEAD - "modified": "2020-11-05 12:16:53.081573", -======= "modified": "2024-05-27 17:29:55.560840", ->>>>>>> eaa4efbc45 (fix: allow Auditor to read a Fiscal Year) "modified_by": "Administrator", "module": "Accounts", "name": "Fiscal Year", diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index 7b300d57195..70a0872a2c4 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -712,11 +712,7 @@ "image_field": "company_logo", "is_tree": 1, "links": [], -<<<<<<< HEAD - "modified": "2023-10-23 10:19:24.322898", -======= "modified": "2024-05-27 17:32:49.057386", ->>>>>>> 06401cc84f (fix: allow Auditor to select a company) "modified_by": "Administrator", "module": "Setup", "name": "Company",