From c39e3aaa8210a3dc75a6e6ae78a69312ff73da68 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 29 Jul 2021 17:52:24 +1000 Subject: [PATCH] Bug fix --- InvenTree/common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index 53c6c03df7..54dc21c1b5 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -85,7 +85,7 @@ class BaseInvenTreeSetting(models.Model): # Convert to javascript compatible booleans if cls.validator_is_bool(validator): - value = value.lower() + value = str(value).lower() # Numerical values remain the same elif cls.validator_is_int(validator):