Add "units" to PartBriefSerializer
This commit is contained in:
parent
9b6b5825f3
commit
ec88415f3d
|
|
@ -15,6 +15,10 @@ INVENTREE_API_VERSION = 10
|
|||
"""
|
||||
Increment this API version number whenever there is a significant change to the API that any clients need to know about
|
||||
|
||||
v11 -> 2021-08-26
|
||||
- Adds "units" field to PartBriefSerializer
|
||||
- This allows units to be introspected from the "part_detail" field in the StockItem serializer
|
||||
|
||||
v10 -> 2021-08-23
|
||||
- Adds "purchase_price_currency" to StockItem serializer
|
||||
- Adds "purchase_price_string" to StockItem serializer
|
||||
|
|
|
|||
|
|
@ -206,6 +206,7 @@ class PartBriefSerializer(InvenTreeModelSerializer):
|
|||
'stock',
|
||||
'trackable',
|
||||
'virtual',
|
||||
'units',
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue