[minor] contact.js
This commit is contained in:
parent
43c16d1e72
commit
3e52f44a79
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,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({
|
||||
return frappe.call({
|
||||
method: "frappe.contacts.doctype.contact.contact.invite_user",
|
||||
args: {
|
||||
contact: frm.doc.name
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue