How to hide this button

how to hide this button “Report” Screenshot from 2023-10-06 15-42-25

@anjalipv for all doctypes or for specific one .

for this specific one

Hi @anjalipv,

Reference:

Code:

frappe.listview_settings['Your DocType'] = {
    refresh : function(listview) {
        $('li[data-view="Report"]').hide();
    }
};

I hope this helps.

Thank You!

5 Likes

it worked, Thank You…