Newsletter moved to Frappe

This commit is contained in:
Kanchan Chauhan
2016-06-28 11:17:02 +05:30
parent 20bedc004e
commit 65c8b5a216
21 changed files with 11 additions and 1047 deletions

View File

@@ -18,7 +18,7 @@ frappe.send_message = function(opts, btn) {
erpnext.subscribe_to_newsletter = function(opts, btn) {
return frappe.call({
type: "POST",
method: "erpnext.crm.doctype.newsletter.newsletter.subscribe",
method: "frappe.email.doctype.newsletter.newsletter.subscribe",
btn: btn,
args: {"email": opts.email},
callback: opts.callback