mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-26 13:25:20 +00:00
fix: error message wording (#57495)
(cherry picked from commit bdf586c670)
This commit is contained in:
@@ -279,7 +279,7 @@ class Opportunity(TransactionBase, CRMNote):
|
|||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
frappe.throw(_("Cannot declare as lost, because Quotation has been made."))
|
frappe.throw(_("Cannot declare as Lost because an active Quotation exists."))
|
||||||
|
|
||||||
def has_active_quotation(self):
|
def has_active_quotation(self):
|
||||||
if not self.get("items", []):
|
if not self.get("items", []):
|
||||||
|
|||||||
Reference in New Issue
Block a user