ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Notification numbers not showing for custom app on desktop

bug

#1

Hi,

While developing multiple custom apps for my self hosted ERPNext environment, I encountered an issue. Most of my apps are using notifications to alert users, but I have got one problem with one of my apps. The notification number won’t show on the desktop, whilst other notification numbers of my apps do show on the desktop.

Screenshots:

  1. The “Repairs and Support” app does not show its notification number as my other apps do:
  2. When I open the app, the “Return material Authorisation” DocType has notifications:
  3. The notifications also show up in the notification center:
  4. hooks.py:
  5. notifications.py:

Has anyone else encountered this issue, or does anyone know how I can fix this?

Kind regards,

Bart