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