@property
    def short_message(self):
        if self.num_available > 0:
            return _("In stock")
        return _("Unavailable")
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/partner/availability.py/StockRequired.short_message/original