fix: error message wording (#57495)

This commit is contained in:
Raffael Meyer
2026-07-27 13:15:18 +02:00
committed by GitHub
parent 3f93887ec8
commit bdf586c670

View File

@@ -280,7 +280,7 @@ class Opportunity(TransactionBase, CRMNote):
self.save()
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):
if not self.get("items", []):