mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 03:30:54 +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:
@ -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