2
0
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:
Oliver Walters
2020-08-26 14:29:49 +10:00
parent ee0df29af0
commit 54d0c4e8a8
2 changed files with 2 additions and 2 deletions

View File

@ -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