diff --git a/src/backend/InvenTree/InvenTree/config.py b/src/backend/InvenTree/InvenTree/config.py index 6f5733d74a..07ba769879 100644 --- a/src/backend/InvenTree/InvenTree/config.py +++ b/src/backend/InvenTree/InvenTree/config.py @@ -223,6 +223,11 @@ def do_typecast(value, type, var_name=None): elif type is dict: value = to_dict(value) + # Special handling for boolean typecasting + elif type is bool: + val = is_true(value) + return val + elif type is not None: # Try to typecast the value try: