mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fix
This commit is contained in:
parent
bf296057b3
commit
1cfe445897
@ -1112,7 +1112,7 @@ class StockItemTestResult(models.Model):
|
||||
|
||||
super().clean()
|
||||
|
||||
# If this test result corresponds to a template, check the requirements of the template
|
||||
# If this test result corresponds to a template, check the requirements of the template
|
||||
key = helpers.generateTestKey(self.test)
|
||||
|
||||
templates = self.stock_item.part.getTestTemplates()
|
||||
@ -1134,7 +1134,7 @@ class StockItemTestResult(models.Model):
|
||||
"attachment": _("Attachment must be uploaded for this test"),
|
||||
})
|
||||
"""
|
||||
|
||||
|
||||
break
|
||||
|
||||
# If an attachment is linked to this result, the attachment must also point to the item
|
||||
|
Loading…
Reference in New Issue
Block a user