fix: Move Issue List actions under 'Actions' dropdown
This commit is contained in:
parent
ac23ac6a02
commit
6319073d81
@ -8,11 +8,11 @@ frappe.listview_settings['Issue'] = {
|
||||
|
||||
var method = "erpnext.support.doctype.issue.issue.set_multiple_status";
|
||||
|
||||
listview.page.add_menu_item(__("Set as Open"), function() {
|
||||
listview.page.add_action_item(__("Set as Open"), function() {
|
||||
listview.call_for_selected_items(method, {"status": "Open"});
|
||||
});
|
||||
|
||||
listview.page.add_menu_item(__("Set as Closed"), function() {
|
||||
listview.page.add_action_item(__("Set as Closed"), function() {
|
||||
listview.call_for_selected_items(method, {"status": "Closed"});
|
||||
});
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user