fix: error message wording (#57495)

(cherry picked from commit bdf586c670)
This commit is contained in:
Raffael Meyer
2026-07-27 13:15:18 +02:00
committed by Mergify
parent ad9870acc1
commit 8d69dbd4ef

View File

@@ -279,7 +279,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", []):