[minor] fixes for TypeError: get_lead_details() takes at least 1 argument (2 given)

This commit is contained in:
mbauskar 2017-07-18 11:23:21 +05:30
parent e012e24423
commit 30e03cc4c8

View File

@ -105,6 +105,10 @@ erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({
lead: function() { lead: function() {
var me = this; var me = this;
if(!this.frm.doc.lead) {
return;
}
frappe.call({ frappe.call({
method: "erpnext.crm.doctype.lead.lead.get_lead_details", method: "erpnext.crm.doctype.lead.lead.get_lead_details",
args: { args: {