mark restart required in the settings

This commit is contained in:
Matthias 2021-11-12 08:03:25 +01:00
parent e542a8f8e3
commit c612cfcfba
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -970,24 +970,28 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'description': _('Enable plugins to add URL routes'), 'description': _('Enable plugins to add URL routes'),
'default': False, 'default': False,
'validator': bool, 'validator': bool,
'requires_restart': True,
}, },
'ENABLE_PLUGINS_NAVIGATION': { 'ENABLE_PLUGINS_NAVIGATION': {
'name': _('Enable navigation integration'), 'name': _('Enable navigation integration'),
'description': _('Enable plugins to integrate into navigation'), 'description': _('Enable plugins to integrate into navigation'),
'default': False, 'default': False,
'validator': bool, 'validator': bool,
'requires_restart': True,
}, },
'ENABLE_PLUGINS_SETTING': { 'ENABLE_PLUGINS_SETTING': {
'name': _('Enable setting integration'), 'name': _('Enable setting integration'),
'description': _('Enable plugins to integrate into inventree settings'), 'description': _('Enable plugins to integrate into inventree settings'),
'default': False, 'default': False,
'validator': bool, 'validator': bool,
'requires_restart': True,
}, },
'ENABLE_PLUGINS_APP': { 'ENABLE_PLUGINS_APP': {
'name': _('Enable app integration'), 'name': _('Enable app integration'),
'description': _('Enable plugins to add apps'), 'description': _('Enable plugins to add apps'),
'default': False, 'default': False,
'validator': bool, 'validator': bool,
'requires_restart': True,
}, },
} }