diff --git a/InvenTree/company/views.py b/InvenTree/company/views.py index a98df503b2..2720f4ccac 100644 --- a/InvenTree/company/views.py +++ b/InvenTree/company/views.py @@ -279,7 +279,7 @@ class SupplierPartEdit(AjaxUpdateView): # It appears that hiding a MoneyField fails validation # Therefore the idea to set the value before hiding if form.is_valid(): - form.cleaned_data['single_pricing'] = supplier_part.unit_pricing + form.cleaned_data['single_pricing'] = supplier_part.unit_pricing # Hide the single-pricing field (only for creating a new SupplierPart!) form.fields['single_pricing'].widget = HiddenInput()