Skip to content

Commit

Permalink
Revert custom temp definition (#6502)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Feb 16, 2024
1 parent d9b769d commit e88defd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions InvenTree/InvenTree/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e88defd

Please sign in to comment.