From 04edbf7efe164c71afaa58f7a066ada72db03223 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Fri, 14 Mar 2025 15:54:03 +0530 Subject: [PATCH] fix: also consider CRM Deal as party type for ERPNext CRM Integration --- erpnext/public/js/utils/party.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/utils/party.js b/erpnext/public/js/utils/party.js index 623941755d1..a85423b8340 100644 --- a/erpnext/public/js/utils/party.js +++ b/erpnext/public/js/utils/party.js @@ -17,7 +17,7 @@ erpnext.utils.get_party_details = function (frm, method, args, callback) { (frm.doc.party_name && ["Quotation", "Opportunity"].includes(frm.doc.doctype)) ) { let party_type = "Customer"; - if (frm.doc.quotation_to && ["Lead", "Prospect"].includes(frm.doc.quotation_to)) { + if (frm.doc.quotation_to && ["Lead", "Prospect", "CRM Deal"].includes(frm.doc.quotation_to)) { party_type = frm.doc.quotation_to; }