diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index d378c7616a..44895af091 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -361,9 +361,9 @@ class BaseInvenTreeSetting(models.Model): filters['user'] = user if plugin is not None: - from plugin import InvenTreePluginBase + from plugin import InvenTreePlugin - if issubclass(plugin.__class__, InvenTreePluginBase): + if issubclass(plugin.__class__, InvenTreePlugin): filters['plugin'] = plugin.plugin_config() else: filters['plugin'] = plugin