Hi All
I’m tired of removing or hiding the button from the form view, but it’s no use
how to solve this
frappe.ui.form.on('Sales Order', {
refresh(frm) {
setTimeout(() => {
frm.remove_custom_button('Update Items');
frm.remove_custom_button('Close', 'Status');
frm.remove_custom_button('Work Order', 'Make');
}, 10);
}
})