diff --git a/crm/fcrm/doctype/crm_deal/crm_deal.js b/crm/fcrm/doctype/crm_deal/crm_deal.js
index 1b305ae0..944ac6d4 100644
--- a/crm/fcrm/doctype/crm_deal/crm_deal.js
+++ b/crm/fcrm/doctype/crm_deal/crm_deal.js
@@ -1,8 +1,8 @@
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
-// frappe.ui.form.on("CRM Deal", {
-// refresh(frm) {
-
-// },
-// });
+frappe.ui.form.on("CRM Deal", {
+ refresh(frm) {
+ frm.add_web_link(`/crm/deals/${frm.doc.name}`, __("Open in Portal"));
+ },
+});
diff --git a/crm/fcrm/doctype/crm_lead/crm_lead.js b/crm/fcrm/doctype/crm_lead/crm_lead.js
index 0b354d77..0a9d57e1 100644
--- a/crm/fcrm/doctype/crm_lead/crm_lead.js
+++ b/crm/fcrm/doctype/crm_lead/crm_lead.js
@@ -1,8 +1,8 @@
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
-// frappe.ui.form.on("CRM Lead", {
-// refresh(frm) {
-
-// },
-// });
+frappe.ui.form.on("CRM Lead", {
+ refresh(frm) {
+ frm.add_web_link(`/crm/leads/${frm.doc.name}`, __("Open in Portal"));
+ },
+});
diff --git a/frontend/src/components/Modals/DealModal.vue b/frontend/src/components/Modals/DealModal.vue
index fbfcf1b1..d82a4b95 100644
--- a/frontend/src/components/Modals/DealModal.vue
+++ b/frontend/src/components/Modals/DealModal.vue
@@ -17,7 +17,7 @@
-
+