mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 21:15:41 +00:00
Adds exporter and download functionality for BuildOrder table
This commit is contained in:
@ -901,7 +901,6 @@ class PartList(APIDownloadMixin, generics.ListCreateAPIView):
|
||||
dataset = PartResource().export(queryset=queryset)
|
||||
|
||||
filedata = dataset.export(export_format)
|
||||
|
||||
filename = f"InvenTree_Parts.{export_format}"
|
||||
|
||||
return DownloadFile(filedata, filename)
|
||||
|
Reference in New Issue
Block a user