From 8d69dbd4ef6e4ac3f69f183bfb9b6ae8d83a5b2a Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Mon, 27 Jul 2026 13:15:18 +0200 Subject: [PATCH] fix: error message wording (#57495) (cherry picked from commit bdf586c6702ad721f4872238cbd04d72db64fe54) --- erpnext/crm/doctype/opportunity/opportunity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/crm/doctype/opportunity/opportunity.py b/erpnext/crm/doctype/opportunity/opportunity.py index b93ee7674d8..c76b76b856d 100644 --- a/erpnext/crm/doctype/opportunity/opportunity.py +++ b/erpnext/crm/doctype/opportunity/opportunity.py @@ -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", []):