2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 03:30:54 +00:00

Add Notifications shortcut (#5104)

* add notify_users shortcut

* make html template optional
This commit is contained in:
Matthias Mair
2023-06-26 01:43:07 +02:00
committed by GitHub
parent 0458b5c53a
commit a83a71b3a3
2 changed files with 45 additions and 28 deletions

View File

@ -279,7 +279,7 @@ class NotificationBody:
name: str
slug: str
message: str
template: str
template: str = None
class InvenTreeNotificationBodies: