mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
Ignore some rules
This commit is contained in:
parent
29ab19d51d
commit
1ef81ecf2e
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user