diff --git a/backend/src/openarchiefbeheer/destruction/models.py b/backend/src/openarchiefbeheer/destruction/models.py index e37d1366..c5e725ec 100644 --- a/backend/src/openarchiefbeheer/destruction/models.py +++ b/backend/src/openarchiefbeheer/destruction/models.py @@ -264,6 +264,8 @@ def create_report_zaak(self) -> None: def clear_local_metadata(self) -> None: self.items.update(extra_zaak_data={}) + self.destruction_report.delete() + class DestructionListItem(models.Model): destruction_list = models.ForeignKey(