2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Allow registry.with_mixin to filter by active status

This commit is contained in:
Oliver
2022-05-19 11:00:31 +10:00
parent ebcb9685b5
commit 11b21a9cca
4 changed files with 12 additions and 3 deletions

View File

@ -60,6 +60,7 @@ class SettingsMixin:
if not plugin:
# Cannot find associated plugin model, return
logger.error(f"Plugin configuration not found for plugin '{self.slug}'")
return # pragma: no cover
PluginSetting.set_setting(key, value, user, plugin=plugin)