2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

Icer button rendering for PurchaseOrder page

This commit is contained in:
Oliver Walters
2019-09-08 23:26:41 +10:00
parent fa8056f4b9
commit 8817b4d692
2 changed files with 21 additions and 9 deletions

View File

@ -176,7 +176,6 @@ class StockExport(AjaxView):
except (ValueError, StockLocation.DoesNotExist):
location = None
if export_format not in GetExportFormats():
export_format = 'csv'
@ -186,7 +185,6 @@ class StockExport(AjaxView):
fmt=export_format
)
if location:
stock_items = location.get_stock_items(cascade)
else: