mirror of
https://github.com/inventree/InvenTree.git
synced 2025-09-01 08:15:54 +00:00
Merge branch 'matmair/issue2279' of https://github.com/matmair/InvenTree into matmair/issue2279
This commit is contained in:
.github/workflows
.gitignoreInvenTree
InvenTree
barcodes
build
common
company
fixtures
order
plugin
__init__.pyaction.pyadmin.pyapi.pyapps.py
builtin
helpers.pyintegration.pyloader.pymigrations
mixins
models.pyplugin.pyplugins.pyregistry.pysamples
__init__.py
serializers.pyintegration
templatetags
test_action.pytest_api.pytest_integration.pytest_plugin.pyurls.pyplugins
stock
api.pyforms.pytest_api.pytests.pyurls.pyviews.py
migrations
models.pyserializers.pytasks.pytemplates
stock
templates
users
@@ -962,6 +962,34 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
||||
'default': '',
|
||||
'choices': settings_group_options
|
||||
},
|
||||
'ENABLE_PLUGINS_URL': {
|
||||
'name': _('Enable URL integration'),
|
||||
'description': _('Enable plugins to add URL routes'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
'requires_restart': True,
|
||||
},
|
||||
'ENABLE_PLUGINS_NAVIGATION': {
|
||||
'name': _('Enable navigation integration'),
|
||||
'description': _('Enable plugins to integrate into navigation'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
'requires_restart': True,
|
||||
},
|
||||
'ENABLE_PLUGINS_GLOBALSETTING': {
|
||||
'name': _('Enable global setting integration'),
|
||||
'description': _('Enable plugins to integrate into inventree global settings'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
'requires_restart': True,
|
||||
},
|
||||
'ENABLE_PLUGINS_APP': {
|
||||
'name': _('Enable app integration'),
|
||||
'description': _('Enable plugins to add apps'),
|
||||
'default': False,
|
||||
'validator': bool,
|
||||
'requires_restart': True,
|
||||
},
|
||||
}
|
||||
|
||||
class Meta:
|
||||
|
Reference in New Issue
Block a user