mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-13 08:21:26 +00:00
Removed UUID field from StockItem
- QR code is now created based on a JSON object - This will make it extensible to other things such as StockLocation - Created a helper function to make Barcode objects
This commit is contained in:
@ -38,7 +38,6 @@ class StockItemSerializerBrief(serializers.ModelSerializer):
|
||||
model = StockItem
|
||||
fields = [
|
||||
'pk',
|
||||
'uuid',
|
||||
'part',
|
||||
'part_name',
|
||||
'supplier_part',
|
||||
@ -65,7 +64,6 @@ class StockItemSerializer(serializers.ModelSerializer):
|
||||
model = StockItem
|
||||
fields = [
|
||||
'pk',
|
||||
'uuid',
|
||||
'url',
|
||||
'part',
|
||||
'supplier_part',
|
||||
|
Reference in New Issue
Block a user