Skip to content

Commit 65a80cf

Browse files
shariquerikmergify[bot]
authored andcommitted
fix: also consider CRM Deal as party type for ERPNext CRM Integration
(cherry picked from commit 04edbf7)
1 parent 18e29de commit 65a80cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

erpnext/public/js/utils/party.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ erpnext.utils.get_party_details = function (frm, method, args, callback) {
1717
(frm.doc.party_name && ["Quotation", "Opportunity"].includes(frm.doc.doctype))
1818
) {
1919
let party_type = "Customer";
20-
if (frm.doc.quotation_to && ["Lead", "Prospect"].includes(frm.doc.quotation_to)) {
20+
if (frm.doc.quotation_to && ["Lead", "Prospect", "CRM Deal"].includes(frm.doc.quotation_to)) {
2121
party_type = frm.doc.quotation_to;
2222
}
2323

0 commit comments

Comments
 (0)