ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Add button in list view item

customization

#1

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


#2

Hi,

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


#3

Goto setup>custom script
add custom script for item doctype
script:
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() {
frappe.msgprint(“Hello”);
},“Options”)


#4

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


#5

you need to check

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


#6

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


#7

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