2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00

Print one (or more!) report templates via API

This commit is contained in:
Oliver Walters
2021-01-18 21:17:19 +11:00
parent cbb286e46d
commit 1b835a71df
2 changed files with 55 additions and 5 deletions

View File

@ -310,7 +310,7 @@ class StockLocationLabelPrint(generics.RetrieveAPIView, StockLocationLabelMixin)
"""
queryset = StockLocationLabel.objects.all()
seiralizers_class = StockLocationLabelSerializer
seiralizer_class = StockLocationLabelSerializer
def get(self, request, *args, **kwargs):