I’m using ERPNext v15.67.0 with Healthcare module v15.1.3, and I’d like to know how to hide the “ID” column in a List View of Patient doctype.
Is there any built-in option or configuration in ERPNext/Frappe to hide the ID column from the List View?
Or do I need to customize the List View using a JS file or custom script to remove or hide it?
To remove ID from list view you must have field set as title.
in list view you can add like this:
frappe.listview_settings['Patient'] = {
hide_name_column: true, // hide the id column which shows the `name`
hide_name_filter: true, // hide the default filter field for the name/id column
}