diff --git a/InvenTree/plugin/models.py b/InvenTree/plugin/models.py index 2aa587d8a4..1749ea8cd8 100644 --- a/InvenTree/plugin/models.py +++ b/InvenTree/plugin/models.py @@ -40,3 +40,9 @@ class PluginConfig(models.Model): verbose_name=_('Active'), help_text=_('Is the plugin active'), ) + + def __str__(self) -> str: + name = f'{self.name} - {self.key}' + if not self.active: + name += '(not active)' + return name