mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add new setting
This commit is contained in:
parent
3c695870da
commit
d73590f02f
@ -2107,6 +2107,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
|||||||
'validator': bool,
|
'validator': bool,
|
||||||
'after_save': reload_plugin_registry,
|
'after_save': reload_plugin_registry,
|
||||||
},
|
},
|
||||||
|
'ENABLE_PLUGINS_INTERFACE': {
|
||||||
|
'name': _('Enable interface integration'),
|
||||||
|
'description': _('Enable plugins to integrate into the user interface'),
|
||||||
|
'default': False,
|
||||||
|
'validator': bool,
|
||||||
|
'after_save': reload_plugin_registry,
|
||||||
|
},
|
||||||
'PROJECT_CODES_ENABLED': {
|
'PROJECT_CODES_ENABLED': {
|
||||||
'name': _('Enable project codes'),
|
'name': _('Enable project codes'),
|
||||||
'description': _('Enable project codes for tracking projects'),
|
'description': _('Enable project codes for tracking projects'),
|
||||||
|
@ -63,6 +63,7 @@ export default function PluginManagementPanel() {
|
|||||||
keys={[
|
keys={[
|
||||||
'ENABLE_PLUGINS_SCHEDULE',
|
'ENABLE_PLUGINS_SCHEDULE',
|
||||||
'ENABLE_PLUGINS_EVENTS',
|
'ENABLE_PLUGINS_EVENTS',
|
||||||
|
'ENABLE_PLUGINS_INTERFACE',
|
||||||
'ENABLE_PLUGINS_URL',
|
'ENABLE_PLUGINS_URL',
|
||||||
'ENABLE_PLUGINS_NAVIGATION',
|
'ENABLE_PLUGINS_NAVIGATION',
|
||||||
'ENABLE_PLUGINS_APP',
|
'ENABLE_PLUGINS_APP',
|
||||||
|
Loading…
Reference in New Issue
Block a user