def get_actions(self, request):
        """
        Returns _resync_instances only for
        models with a defined model.stripe_class.retrieve
        """
        actions = super().get_actions(request)

        # remove "_sync_all_instances" as Discounts cannot be listed
        actions.pop("_sync_all_instances", None)

        return actions

        Returns _resync_instances only for
        models with a defined model.stripe_class.retrieve
        
djstripe/admin/admin.py