diff --git a/InvenTree/company/serializers.py b/InvenTree/company/serializers.py index ae48c4037e..16e7911ceb 100644 --- a/InvenTree/company/serializers.py +++ b/InvenTree/company/serializers.py @@ -104,7 +104,7 @@ class SupplierPartSerializer(InvenTreeModelSerializer): self.fields.pop('manufacturer_detail') if prettify is not True: - self.fields.pop('pretty_name') + self.fields.pop('pretty_name') supplier = serializers.PrimaryKeyRelatedField(queryset=Company.objects.filter(is_supplier=True))