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:

frappe%20view%20box

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

2 Likes

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.