Route to newsletter listview

This commit is contained in:
Manas Solanki 2017-04-05 11:52:23 +05:30
parent 7eea52d4e9
commit ba6559c2e9
2 changed files with 0 additions and 6 deletions

View File

@ -14,9 +14,6 @@ frappe.ui.form.on('Student Batch', {
});
});
frm.add_custom_button(__("Newsletter"), function() {
frappe.route_options = {
email_group: frm.doc.name
}
frappe.set_route("List", "Newsletter");
});
}

View File

@ -26,9 +26,6 @@ frappe.ui.form.on("Student Group", {
});
});
frm.add_custom_button(__("Newsletter"), function() {
frappe.route_options = {
email_group: frm.doc.name
}
frappe.set_route("List", "Newsletter");
});
}