2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-18 16:41:32 +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:
Oliver Walters
2019-05-02 20:40:56 +10:00
parent 2f7c02133e
commit d49ce465e5
7 changed files with 73 additions and 11 deletions

View File

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