mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	PEP fix
This commit is contained in:
		@@ -104,7 +104,7 @@ class SupplierPartSerializer(InvenTreeModelSerializer):
 | 
				
			|||||||
            self.fields.pop('manufacturer_detail')
 | 
					            self.fields.pop('manufacturer_detail')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if prettify is not True:
 | 
					        if prettify is not True:
 | 
				
			||||||
            self.fields.pop('pretty_name')        
 | 
					            self.fields.pop('pretty_name')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    supplier = serializers.PrimaryKeyRelatedField(queryset=Company.objects.filter(is_supplier=True))
 | 
					    supplier = serializers.PrimaryKeyRelatedField(queryset=Company.objects.filter(is_supplier=True))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user