From e88defd02669d63a2c91e58d951a02575770f16d Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 16 Feb 2024 12:22:05 +1100 Subject: [PATCH] Revert custom temp definition (#6502) --- InvenTree/InvenTree/conversion.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/InvenTree/InvenTree/conversion.py b/InvenTree/InvenTree/conversion.py index d65500fb51..33ecf2ed98 100644 --- a/InvenTree/InvenTree/conversion.py +++ b/InvenTree/InvenTree/conversion.py @@ -45,11 +45,6 @@ def reload_unit_registry(): reg.define('hundred = 100') reg.define('thousand = 1000') - # Temperature units - reg.define('degreeC = °C = degC = celsius = Celsius') - reg.define('degreeF = °F = degF = fahrenheit = Fahrenheit') - reg.define('degreeK = °K = degK = kelvin = Kelvin') - # Allow for custom units to be defined in the database try: from common.models import CustomUnit