Merge pull request #22710 from marination/issue-list-action

fix: Move Issue List actions under 'Actions' dropdown (ux)
This commit is contained in:
Rucha Mahabal 2020-07-17 12:03:51 +05:30 committed by GitHub
commit c2977cf877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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