Browse Source

Update contact.js (#3286)

Change incorrect call to erpnext.utilities.doctype.contact.contact.invite_user to frappe.email.doctype.contact.contact.invite_user
version-14
ckosiegbu 8 years ago
committed by Rushabh Mehta
parent
commit
2b8a12df3a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/email/doctype/contact/contact.js

+ 1
- 1
frappe/email/doctype/contact/contact.js View File

@@ -19,7 +19,7 @@ frappe.ui.form.on("Contact", {
if(!frm.doc.user && !frm.is_new() && frm.perm[0].write) {
frm.add_custom_button(__("Invite as User"), function() {
frappe.call({
method: "erpnext.utilities.doctype.contact.contact.invite_user",
method: "frappe.email.doctype.contact.contact.invite_user",
args: {
contact: frm.doc.name
},


Loading…
Cancel
Save