mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-22 07:55:07 +00:00
Adds a per-user setting to allow sending of emails for notification events
This commit is contained in:
1 parent
8be6223967
commit
d2969d0235
4 files changed
+30
No files matched your search
@@ -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'),
|
||||
|
||||
Reference in new issue
Block a user