Removal of SMS Settings and SMS Parameters from ERPNext (#10033)

* Removal of SMS Settings and SMS Parameter from ERPNext.

* [DOCS]Documentation for Two Factor Authentication

* [Patch]Point SMS module to frappe core

* Rearrange doc help index.txt to fit

* [DOCS]Update Documentation for Two Factor Authentication
This commit is contained in:
ckosiegbu
2017-08-08 10:25:30 +01:00
committed by Rushabh Mehta
parent 32992d555d
commit 1ac6bcba23
36 changed files with 104 additions and 453 deletions

View File

@@ -35,7 +35,7 @@ erpnext.SMSManager = function SMSManager(doc) {
this.get_contact_number = function(contact, ref_doctype, ref_name) {
frappe.call({
method: "erpnext.setup.doctype.sms_settings.sms_settings.get_contact_number",
method: "frappe.core.doctype.sms_settings.sms_settings.get_contact_number",
args: {
contact_name: contact,
ref_doctype: ref_doctype,
@@ -85,7 +85,7 @@ erpnext.SMSManager = function SMSManager(doc) {
if(v) {
$(btn).set_working();
frappe.call({
method: "erpnext.setup.doctype.sms_settings.sms_settings.send_sms",
method: "frappe.core.doctype.sms_settings.sms_settings.send_sms",
args: {
receiver_list: [v.number],
msg: v.message