Customizing Desktop Notification

I want to customize notifications on desktop according to user. To be more specific, I have sales users which are linked with different account users. So whenever a sales user generates new order, it should be visible only to its account user…not to everyone…
I just need the path of the file from where notifications are getting applied

@Arpit_Goyal,

Please check frappe/notifications.py at develop · frappe/frappe · GitHub
and erpnext/notifications.py at develop · frappe/erpnext · GitHub

Thanks,
Makarand

1 Like

Thanks for your response…
I have modified
erpnext/erpnext/startup/notifications.py
But it is not reflecting changes… not getting executed.
Do I need to reinstall erpnext on my site ?

@Arpit_Goyal,

notifications are updated while creating a new session or while checking if the session is alive or not try logout and login and check if the notifications are working or not

Thanks,
Makarand

notifications.py file is getting executed only once… It needs to restart bench every time to see the changes…