fix: Quotation Query fix in lead.py
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user