How to modify the recipient role for notifications in ERPNext?

How to modify the recipient role at the notification level by adding a condition, allowing a user to be excluded by
a specific role for him or by his email address?
Indeed, I would like the notification to be sent to all users of the System Manager role, except the one who is the General Manager, even though he belongs to the System Manager role.


1 Like