Bug in contact.js (#3546)
This commit is contained in:
parent
3dbe747292
commit
fb85e91ed6
1 changed files with 1 additions and 1 deletions
|
|
@ -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: "frappe.email.doctype.contact.contact.invite_user",
|
||||
method: "frappe.contacts.doctype.contact.contact.invite_user",
|
||||
args: {
|
||||
contact: frm.doc.name
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue