def get_name(self):
        if self.is_variant():
            if self.active_name:
                name = self.name
                name = name.replace("%P", self.parent.name)
            else:
                name = self.parent.name
        else:
            name = self.name

        return name
Returns the name of the product. Takes care whether the product is a
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_name