Fix for serialization of company images

This commit is contained in:
Oliver Walters 2019-09-02 22:06:42 +10:00
parent 64278523f0
commit f3e161564d

View File

@ -32,6 +32,8 @@ class CompanySerializer(InvenTreeModelSerializer):
url = serializers.CharField(source='get_absolute_url', read_only=True)
part_count = serializers.CharField(read_only=True)
image = serializers.CharField(source='get_image_url', read_only=True)
class Meta:
model = Company
fields = [