mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-02 01:51:33 +00:00
Ignore some rules
This commit is contained in:
@@ -58,7 +58,7 @@ class StockItemSerializer(serializers.ModelSerializer):
|
|||||||
- Includes serialization for the linked part
|
- Includes serialization for the linked part
|
||||||
- Includes serialization for the item location
|
- Includes serialization for the item location
|
||||||
"""
|
"""
|
||||||
|
|
||||||
url = serializers.CharField(source='get_absolute_url', read_only=True)
|
url = serializers.CharField(source='get_absolute_url', read_only=True)
|
||||||
|
|
||||||
part = PartBriefSerializer(many=False, read_only=True)
|
part = PartBriefSerializer(many=False, read_only=True)
|
||||||
|
@@ -41,7 +41,7 @@ class StockLocationDetail(DetailView):
|
|||||||
"""
|
"""
|
||||||
Detailed view of a single StockLocation object
|
Detailed view of a single StockLocation object
|
||||||
"""
|
"""
|
||||||
|
|
||||||
context_object_name = 'location'
|
context_object_name = 'location'
|
||||||
template_name = 'stock/location.html'
|
template_name = 'stock/location.html'
|
||||||
queryset = StockLocation.objects.all()
|
queryset = StockLocation.objects.all()
|
||||||
|
Reference in New Issue
Block a user