diff --git a/InvenTree/InvenTree/fields.py b/InvenTree/InvenTree/fields.py index 7dbf953016..d2fb7b6ff4 100644 --- a/InvenTree/InvenTree/fields.py +++ b/InvenTree/InvenTree/fields.py @@ -52,7 +52,10 @@ class RoundingDecimalFormField(forms.DecimalField): Why? It looks nice! """ - return value.normalize() + if type(value) == Decimal: + return value.normalize() + else: + return value class RoundingDecimalField(models.DecimalField):