Skip to content

Commit 136b2cf

Browse files
mihir-kandoimergify[bot]
authored andcommitted
fix: failing test cases
(cherry picked from commit d3f44a4)
1 parent 3b37385 commit 136b2cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

erpnext/setup/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def enable_all_roles_and_domains():
202202
def _enable_all_roles_for_admin():
203203
from frappe.desk.page.setup_wizard.setup_wizard import add_all_roles_to
204204

205-
all_roles = set(frappe.db.get_values("Role", pluck="name"))
205+
all_roles = set(frappe.get_all("Role", pluck="name"))
206206
admin_roles = set(
207207
frappe.db.get_values("Has Role", {"parent": "Administrator"}, fieldname="role", pluck="role")
208208
)

0 commit comments

Comments
 (0)