Hi @mslake
If you want to add new button “Close” . You need to add custom script list and api to do it,
hooks.py
doctype_list_js = {
"ToDo" : "custom_scripts/todo_list.js"
}
todo_list.js and yourapp.api.close_todo => api of your app
frappe.listview_settings['ToDo'] = {
onload: function (listview) {
var method = "yourapp.api.close_todo";
listview.page.add_menu_item(__("Close"), function() {
listview.call_for_selected_items(method, {"status": "Closed"});
});
}
}