2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 21:20:56 +00:00

Delete stock tracking entries

This commit is contained in:
Oliver Walters
2019-07-22 10:46:42 +10:00
parent 118a6887bc
commit 8ca14efa53
4 changed files with 32 additions and 1 deletions

View File

@ -582,6 +582,17 @@ class StockItemDelete(AjaxDeleteView):
ajax_form_title = 'Delete Stock Item'
class StockItemTrackingDelete(AjaxDeleteView):
"""
View to delete a StockItemTracking object
Presents a deletion confirmation form to the user
"""
model = StockItemTracking
ajax_template_name = 'stock/tracking_delete.html'
ajax_form_title = 'Delete Stock Tracking Entry'
class StockTrackingIndex(ListView):
"""
StockTrackingIndex provides a page to display StockItemTracking objects