From a43639edb437693d45dee4cdac03cd8a25e00b5c Mon Sep 17 00:00:00 2001 From: pratu16x7 Date: Sat, 5 Nov 2016 10:09:53 +0530 Subject: [PATCH] [fix] role fix for schools setup (#6824) --- erpnext/setup/setup_wizard/domainify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/setup/setup_wizard/domainify.py b/erpnext/setup/setup_wizard/domainify.py index 9d5bf3059d..14e2f3354a 100644 --- a/erpnext/setup/setup_wizard/domainify.py +++ b/erpnext/setup/setup_wizard/domainify.py @@ -105,7 +105,7 @@ def setup_roles(data): if data.allow_roles: # remove all roles other than allowed roles - data.allow_roles += ['Administrator', 'Guest', 'System Manager'] + data.allow_roles += ['Administrator', 'Guest', 'System Manager', 'All'] for role in frappe.get_all('Role'): if not (role.name in data.allow_roles): remove_role(role.name)