fix: Move Issue List actions under 'Actions' dropdown

This commit is contained in:
marination 2020-07-16 15:38:51 +05:30
parent ac23ac6a02
commit 6319073d81

View File

@ -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"});
});
},