Try ERPNext Buy Support Partners Foundation

Add button in list view item

Add a new button same the button new, menu, refresh, in list view (item)


What do you mean exactly? you need to add button same like on item list view or any another else

Goto setup>custom script
add custom script for item doctype
frappe.ui.form.on(“item”, {
refresh: function(frm) {
// use the __islocal value of doc, to check if the doc is saved or not
frm.add_custom_button(“Say Hello”, function() {

I need add button here …next the button (manu)

you need to check

but its generic if you change here it will reflect to all list view of the forms

but i can’t add the new button, i modificate the item_list.js but don’t show the button

Any way/suggestion to do the same using custom script ??

1 Like

Bumping to prevent making another post about this.

Is there anyway to do this without editing list_view.js or base_list.js?