Route to newsletter listview
This commit is contained in:
parent
7eea52d4e9
commit
ba6559c2e9
@ -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");
|
||||
});
|
||||
}
|
||||
|
@ -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");
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user