mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-29 09:01:14 +02:00
fix: Get lead details only if lead name entered
This commit is contained in:
@@ -48,7 +48,7 @@ erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({
|
||||
me.apply_price_list();
|
||||
});
|
||||
|
||||
if(me.frm.doc.quotation_to=="Lead") {
|
||||
if(me.frm.doc.quotation_to=="Lead" && me.frm.doc.party_name) {
|
||||
me.frm.trigger("get_lead_details");
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user