mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-15 09:21:26 +00:00
Use API to mark part as active/inactive
This commit is contained in:
InvenTree
@ -53,6 +53,7 @@ class PartSerializer(serializers.ModelSerializer):
|
||||
|
||||
class Meta:
|
||||
model = Part
|
||||
partial = True
|
||||
fields = [
|
||||
'pk',
|
||||
'url', # Link to the part detail page
|
||||
|
Reference in New Issue
Block a user