From d2a34b83c6bc79c641e86cb879b30470db9504f6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 15 Nov 2021 00:21:47 +0100 Subject: [PATCH] clear settings reliably --- InvenTree/plugin/apps.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index b0a63e68bd..d10f41a808 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -166,6 +166,9 @@ class PluginAppConfig(AppConfig): # remove settings for setting in plugin_settings: InvenTreeSetting.GLOBAL_SETTINGS.pop(setting) + + # clear cache + settings.INTEGRATION_PLUGIN_GLOBALSETTING = {} # endregion # region integration_app