mirror of
https://github.com/inventree/InvenTree.git
synced 2025-09-13 14:11:37 +00:00
Add a button if a stock item test report is available
This commit is contained in:
@@ -212,6 +212,7 @@ class TestReport(ReportTemplateBase, PartFilterMixin):
|
||||
def getSubdir(self):
|
||||
return 'test'
|
||||
|
||||
# Requires a stock_item object to be given to it before rendering
|
||||
stock_item = None
|
||||
|
||||
def get_context_data(self, request):
|
||||
|
Reference in New Issue
Block a user