fix: Quotation Query fix in lead.py

This commit is contained in:
deepeshgarg007
2019-04-01 22:18:10 +05:30
parent 6ba48c58e8
commit a65af7a2f5

View File

@@ -93,7 +93,7 @@ class Lead(SellingController):
def has_quotation(self):
return frappe.db.get_value("Quotation", {
"lead": self.name,
"customer_lead": self.name,
"docstatus": 1,
"status": ["!=", "Lost"]