mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add 'notes' field to Part detail API
This commit is contained in:
parent
1f172b3a57
commit
91b5911ff2
@ -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',
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user