Remove/disable views from a doctype

The default views for a doctype include: Report, Kanban & Dashboard in the following dropdown and they also appear in the search/awesomebar:


How can they be removed? For some things, a list is enough.


I agree with @casesolved-co-uk, it would be useful for some simple doctypes.

1 Like

Did you guys get fixes on the above?

This is set up in list_view_select.js in setup_views.

The condition has to evaluate to true for the menu item to be included.