From c93de0e803a2fabcf17aae6ba32114a8c405ba95 Mon Sep 17 00:00:00 2001 From: Makarand Bauskar Date: Sat, 24 Jun 2017 10:39:30 +0530 Subject: [PATCH] [minor] removed global roles from company doctype field's depends on propery (#9450) --- erpnext/setup/doctype/company/company.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json index 69b2c3aa19..2726523222 100644 --- a/erpnext/setup/doctype/company/company.json +++ b/erpnext/setup/doctype/company/company.json @@ -112,7 +112,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "depends_on": "eval:!doc.__islocal && in_list(roles, \"System Manager\")", + "depends_on": "eval:!doc.__islocal && in_list(frappe.user_roles, \"System Manager\")", "fieldname": "change_abbr", "fieldtype": "Button", "hidden": 0, @@ -1809,7 +1809,7 @@ "istable": 0, "max_attachments": 0, "menu_index": 0, - "modified": "2017-06-15 19:46:10.875108", + "modified": "2017-06-23 19:46:10.875108", "modified_by": "Administrator", "module": "Setup", "name": "Company",