From 99735e0af489a2c4faec57436eea0c2ed0cc6680 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Wed, 16 Apr 2025 10:18:29 +0530 Subject: [PATCH] revert: disable customer if creating from opportunity (cherry picked from commit fc16199a49141315b5e1e78a178a49f7d8cc6b09) --- erpnext/selling/doctype/quotation/quotation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js index b9d46e0b84b..2e88ba9e482 100644 --- a/erpnext/selling/doctype/quotation/quotation.js +++ b/erpnext/selling/doctype/quotation/quotation.js @@ -70,7 +70,8 @@ erpnext.selling.QuotationController = class QuotationController extends erpnext. onload(doc, dt, dn) { super.onload(doc, dt, dn); - this.frm.trigger("disable_customer_if_creating_from_opportunity"); + // TODO: think of better way to do this + // this.frm.trigger("disable_customer_if_creating_from_opportunity"); } party_name() { var me = this;