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:
@ -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:
|
||||
|
Reference in New Issue
Block a user