From c612cfcfbae7ecdc6352de25132b6400476eff43 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 12 Nov 2021 08:03:25 +0100 Subject: [PATCH] mark restart required in the settings --- InvenTree/common/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index 99c0637308..762589a1b0 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -970,24 +970,28 @@ class InvenTreeSetting(BaseInvenTreeSetting): '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_SETTING': { 'name': _('Enable setting integration'), 'description': _('Enable plugins to integrate into inventree 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, }, }