mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 03:00:54 +00:00
Bugfix: Select test report template
- Actually, two bugs!
This commit is contained in:
@ -237,7 +237,7 @@ class TestReportFormatForm(HelperForm):
|
||||
|
||||
for template in templates:
|
||||
if template.matches_stock_item(self.stock_item):
|
||||
choices.append(template)
|
||||
choices.append((template.pk, template))
|
||||
|
||||
return choices
|
||||
|
||||
|
Reference in New Issue
Block a user