diff --git a/openslides/agenda/views.py b/openslides/agenda/views.py index c3b9dc1ab..032d272aa 100644 --- a/openslides/agenda/views.py +++ b/openslides/agenda/views.py @@ -164,7 +164,7 @@ class ItemDelete(DeleteView): self.object.delete() messages.success(request, _("Item %s and his children were successfully deleted.") % self.object) else: - for child in self.object.children: + for child in self.object.get_children(): child.parent = self.object.parent child.save() self.object.delete()