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

Merge pull request #2764 from SchrodingersGat/notification-settings

Notification settings
This commit is contained in:
Oliver
2022-03-21 09:29:38 +11:00
committed by GitHub
8 changed files with 62 additions and 13 deletions

View File

@ -1200,6 +1200,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'),