chore: added test case for employee query with user permissions

(cherry picked from commit 4be975f87c)

# Conflicts:
#	erpnext/controllers/tests/test_queries.py
This commit is contained in:
ljain112
2025-04-22 13:00:37 +05:30
committed by ruthra kumar
parent a450ce25b9
commit e752f3f914
2 changed files with 55 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ def has_ignored_field(reference_doctype, doctype):
continue
if isinstance(options, str):
options = options.split("\n")
if doctype in options or "Doctype" in options:
if doctype in options or "DocType" in options:
return True
return False