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