From a5fef2f26b53d0e09e53c81ab4cde335e82261f1 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Tue, 6 Aug 2024 01:38:59 +0530 Subject: [PATCH] fix: only add convert to deal bulk action on leads listview --- frontend/src/components/ListBulkActions.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/ListBulkActions.vue b/frontend/src/components/ListBulkActions.vue index 84af5b2ff..b58c02e6e 100644 --- a/frontend/src/components/ListBulkActions.vue +++ b/frontend/src/components/ListBulkActions.vue @@ -195,7 +195,7 @@ function bulkActions(selections, unselectAll) { }) } - if (!props.options.hideDelete) { + if (props.doctype === 'CRM Lead') { actions.push({ label: __('Convert to Deal'), onClick: () => convertToDeal(selections, unselectAll),