mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 21:48:27 +00:00
[minor] fixes for TypeError: get_lead_details() takes at least 1 argument (2 given)
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user