Merge pull request #17661 from deepeshgarg007/quotation_lead_fixes

fix: Quotation to lead fix
This commit is contained in:
Deepesh Garg
2019-05-17 18:35:49 +05:30
committed by GitHub

View File

@@ -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");
}
},