ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

DocTypes with names contain "case" will not work


Has anyone encountered this issue?


as I was debugging it the code stops at this field

locate("", tabClinic Case as `_relevance

function: def sanitize_fields(self)
file: /apps/frappe/frappe/model/


I think the reason for this is,

this list variable blacklisted_keywords = [‘select’, ‘create’, ‘insert’, ‘delete’, ‘drop’, ‘update’, ‘case’]

has an element ‘case’

which my DocType name has a word ‘case’ on it.


Created an issue: