Fix: Make customfieldinstance soft delete, fix filepath when deleted (#8067)

This commit is contained in:
shamoon
2024-10-28 07:02:09 -07:00
committed by GitHub
parent 28fdb170bf
commit 79092c27c5
4 changed files with 64 additions and 4 deletions

View File

@@ -296,7 +296,7 @@ def validate_filepath_template_and_render(
else:
# or use the real document information
tags_list = document.tags.order_by("name").all()
custom_fields = document.custom_fields.all()
custom_fields = CustomFieldInstance.global_objects.filter(document=document)
# Build the context dictionary
context = (