Please try it.
frappe.listview_settings['Your DocType'] = {
onload: function(listview) {
setTimeout(() => {
listview.page.actions.find('[data-label="Inforce"]').parent().parent().remove();
}, 500);
}
};
Please set your doctype name in the client script.
client script “Apply To” → List.
2 Likes
Thankyou Its working for me