def get_type_of_quantity_field(self):
        if self.is_variant():
            obj = self.parent
        else:
            obj = self

        if obj.type_of_quantity_field:
            return obj.type_of_quantity_field
        else:
            return QUANTITY_FIELD_INTEGER

    # 3rd party contracts
Checkout the targeted branches/tags from the git_pillar remotes
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_type_of_quantity_field--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/gitfs.py/GitPillar.checkout