mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Fix typo in getStockItemThumbnail
This commit is contained in:
		@@ -1298,7 +1298,7 @@ class BuildItem(models.Model):
 | 
				
			|||||||
            except:
 | 
					            except:
 | 
				
			||||||
                pass
 | 
					                pass
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        if thumb_url is None and self.bom_item and self.stock_item.sub_part:
 | 
					        if thumb_url is None and self.bom_item and self.bom_item.sub_part:
 | 
				
			||||||
            try:
 | 
					            try:
 | 
				
			||||||
                thumb_url = self.bom_item.sub_part.image.thumbnail.url
 | 
					                thumb_url = self.bom_item.sub_part.image.thumbnail.url
 | 
				
			||||||
            except:
 | 
					            except:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user