mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 04:35:42 +00:00 
			
		
		
		
	pep FIX
This commit is contained in:
		| @@ -1112,12 +1112,12 @@ class StockItemTestResult(models.Model): | ||||
|  | ||||
|         super().clean() | ||||
|  | ||||
|         """ | ||||
|         # 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() | ||||
|  | ||||
|         """ | ||||
|         TODO: Re-introduce this at a later stage, it is buggy when uplaoding an attachment via the API | ||||
|         for template in templates: | ||||
|             if key == template.key: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user