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 982648cffd
commit a2ccdb9ee3

View File

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