Add 'notes' field to Part detail API

This commit is contained in:
Oliver Walters 2020-04-05 15:46:18 +10:00
parent 1f172b3a57
commit 91b5911ff2

View File

@ -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',
]