mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 01:55:39 +00:00
Move BomItem into the Part app
- Does not make sense to keep these separate - Removed bom app entirely
This commit is contained in:
@ -1,6 +1,16 @@
|
||||
from rest_framework import serializers
|
||||
|
||||
from .models import Part, PartCategory
|
||||
from .models import BomItem
|
||||
|
||||
class BomItemSerializer(serializers.ModelSerializer):
|
||||
|
||||
class Meta:
|
||||
model = BomItem
|
||||
fields = ('url',
|
||||
'part',
|
||||
'sub_part',
|
||||
'quantity')
|
||||
|
||||
"""
|
||||
class PartParameterSerializer(serializers.HyperlinkedModelSerializer):
|
||||
|
Reference in New Issue
Block a user