diff --git a/InvenTree/part/serializers.py b/InvenTree/part/serializers.py index 3183a7caf9..cd3a8c9017 100644 --- a/InvenTree/part/serializers.py +++ b/InvenTree/part/serializers.py @@ -100,34 +100,34 @@ class PartSerializer(InvenTreeModelSerializer): model = Part partial = True fields = [ - 'pk', - 'url', # Link to the part detail page + 'active', + 'allocated_stock', + 'assembly', 'bom_items', + 'building', 'category', 'category_name', - 'image', - 'thumbnail', + 'component', + 'description', 'full_name', - 'name', + 'image', 'IPN', 'is_template', - 'variant_of', - 'description', 'keywords', - 'URL', - 'total_stock', - 'allocated_stock', + 'name', + 'notes', 'on_order', - 'building', - 'units', - 'used_in', - 'trackable', - 'assembly', - 'component', - 'trackable', + 'pk', 'purchaseable', 'salable', - 'active', + 'thumbnail', + 'trackable', + 'total_stock', + 'units', + 'used_in', + 'URL', + 'url', # Link to the part detail page + 'variant_of', 'virtual', ]