I tried with adding [0][0]at the end but the result shows in the console as
console.trace()
at Anonymous function (http://157.245.96.234:8007/assets/js/desk.min.js?ver=1574682464.0:1:59991)
at i (http://157.245.96.234:8007/assets/frappe/js/lib/jquery/jquery.min.js:2:27146)
at j.fireWith (http://157.245.96.234:8007/assets/frappe/js/lib/jquery/jquery.min.js:2:27856)
at z (http://157.245.96.234:8007/assets/frappe/js/lib/jquery/jquery.min.js:4:11628)
at Anonymous function (http://157.245.96.234:8007/assets/frappe/js/lib/jquery/jquery.min.js:4:15458)
@Thangamani_M Please make sure the path of python file(in which your function is defined ) is correct or not
here ‘get_lead_details’ is a function and which is defined in ‘lead.py’
example:
method: “erpnext.crm.doctype.lead.lead.get_lead_details”,