I want to hide only the Add Multiple button (not the Add Row button) in the child table items of the Quotation doctype.
What is the recommended way or best practice to hide the Add Multiple button in a specific child table in ERPNext?
I want to hide only the Add Multiple button (not the Add Row button) in the child table items of the Quotation doctype.
What is the recommended way or best practice to hide the Add Multiple button in a specific child table in ERPNext?
Hello @jishnusuni
Try this one i hope this works for you
frappe.ui.form.on('Quotation', {
refresh(frm) {
setTimeout(() => {
frm.fields_dict.items.grid.wrapper
.find('.grid-add-multiple-rows')
.remove();
},500);
}
})