How to Disable "New Email" Button?

Hi, is there any way to disable the “New Email” button in the all DocType (e.g. Sales Order), as shown below?

Hello @Raymond_Liew

Put this in the refresh method of the said doctype.

$(".btn-new-email").hide()

Thanks,
Kalpit Shah

1 Like

I added the following script but it does not work!!Please help

Hi @ASHISH_JHA and @Raymond_Liew

Did you find any solution for this?