diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index aec2c553f1..e1383dc74d 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -131,7 +131,7 @@ class BaseInvenTreeSetting(models.Model): for k, v in kwargs.items(): key += f"_{k}:{v}" - return key + return key.replace(" ", "") @classmethod def allValues(cls, user=None, exclude_hidden=False):