Adds a per-user setting to allow sending of emails for notification events

This commit is contained in:
Oliver Walters committed 2022-03-20 19:19:42 +11:00
1 parent 8be6223967
commit d2969d0235
4 files changed
+30

No files matched your search

+7
View File
@@ -1193,6 +1193,13 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
'validator': bool,
},
'NOTIFICATION_SEND_EMAILS': {
'name': _('Enable email notifications'),
'description': _('Allow sending of emails for event notifications'),
'default': True,
'validator': bool,
},
"LABEL_INLINE": {
'name': _('Inline label display'),
'description': _('Display PDF labels in the browser, instead of downloading as a file'),