Hello, I want to remove OR hide some of the buttons/Links from the below photos permanently. I tried many solutions that are available on the forum but it’s not working. Little help appreciated.
Thanks
Hello, I want to remove OR hide some of the buttons/Links from the below photos permanently. I tried many solutions that are available on the forum but it’s not working. Little help appreciated.
Thanks
Hi @erpnxt_user,
Please apply client script in list view:
frappe.listview_settings['Sales Order'].onload = function(listview) {
listview.page.actions.find('[data-label="Edit"],[data-label="Export"]').parent().parent().remove();
listview.page.menu.find('[data-label="Edit"],[data-label="Import"]').parent().parent().remove();
};
Thank You!
Thanks, I tried it before but it wasn’t working and now it’s working lol