diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index 5b1debc7aa..1c1060a3b2 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -717,7 +717,6 @@ class GenericReferencedSettingClass: return self.__class__.get_setting_choices(self.key, **self._get_reference()) - def settings_group_options(): """ Build up group tuple for settings based on your choices diff --git a/InvenTree/plugin/models.py b/InvenTree/plugin/models.py index 4614a079cc..f80a4ced85 100644 --- a/InvenTree/plugin/models.py +++ b/InvenTree/plugin/models.py @@ -101,6 +101,7 @@ class PluginConfig(models.Model): return ret + class PluginSetting(common.models.GenericReferencedSettingClass, common.models.BaseInvenTreeSetting): """ This model represents settings for individual plugins