def post(self, request, *args, **kwargs):
        if self.check_user_delete_permission(request, MovimentoEstoque):
            for key, value in request.POST.items():
                if value == "on":
                    if EntradaEstoque.objects.filter(id=key).exists():
                        instance = EntradaEstoque.objects.get(id=key)
                    elif SaidaEstoque.objects.filter(id=key).exists():
                        instance = SaidaEstoque.objects.get(id=key)
                    elif TransferenciaEstoque.objects.filter(id=key).exists():
                        instance = TransferenciaEstoque.objects.get(id=key)

                    instance.delete()
        return redirect(self.success_url)