mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-21 23:45:16 +00:00
Optional error notification (#5506)
* Add user setting for receiving error notifications * Ignore uses who don't want error notifications * Add config to settings page
This commit is contained in:
1 parent
2243f288ee
commit
f917c91522
3 files changed
+25
-7
No files matched your search
@@ -2191,6 +2191,13 @@ class InvenTreeUserSetting(BaseInvenTreeSetting):
|
||||
'default': '',
|
||||
},
|
||||
|
||||
'NOTIFICATION_ERROR_REPORT': {
|
||||
'name': _('Receive error reports'),
|
||||
'description': _('Receive notifications for system errors'),
|
||||
'default': True,
|
||||
'validator': bool,
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
typ = 'user'
|
||||
|
||||
Reference in new issue
Block a user