From f10a93f6ee2bb32d89647007eecf7b5ae74c7f61 Mon Sep 17 00:00:00 2001 From: avc <94137451+git-avc@users.noreply.github.com> Date: Fri, 18 Aug 2023 17:33:37 +0200 Subject: [PATCH] fix: lost reason opportunity dialog don't appears Fix #36719 --- erpnext/crm/doctype/opportunity/opportunity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/crm/doctype/opportunity/opportunity.js b/erpnext/crm/doctype/opportunity/opportunity.js index 6ef82971f5..0b485bb896 100644 --- a/erpnext/crm/doctype/opportunity/opportunity.js +++ b/erpnext/crm/doctype/opportunity/opportunity.js @@ -1,7 +1,7 @@ // Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.provide("erpnext.crm"); -erpnext.pre_sales.set_as_lost("Quotation"); +erpnext.pre_sales.set_as_lost("Opportunity"); erpnext.sales_common.setup_selling_controller();