diff --git a/src/documents/bulk_edit.py b/src/documents/bulk_edit.py index 9698f65cf..de43aed87 100644 --- a/src/documents/bulk_edit.py +++ b/src/documents/bulk_edit.py @@ -180,7 +180,7 @@ def modify_custom_fields( CustomFieldInstance.objects.filter( document_id__in=affected_docs, field_id__in=remove_custom_fields, - ).delete() + ).hard_delete() bulk_update_documents.delay(document_ids=affected_docs)