mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-17 18:45:20 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user