From 01fcc728ad0706d74662f8ccf97fd40dbcb01770 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 5 Apr 2022 00:34:30 +0200 Subject: [PATCH] PEP fixes --- InvenTree/common/models.py | 1 - InvenTree/plugin/models.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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