2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

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

This commit is contained in:
Oliver Walters
2022-03-20 19:19:42 +11:00
parent 8be6223967
commit d2969d0235
4 changed files with 30 additions and 0 deletions

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'),