fix: only add convert to deal bulk action on leads listview
This commit is contained in:
parent
2b5fd93922
commit
a5fef2f26b
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user