Enhancement: support custom fields in workflow title templates (#14564)

This commit is contained in:
shamoon authored and GitHub committed 2026-10-29 17:40:53 +00:00
1 parent cc54e3e5aa
commit 9c4c9f2386
6 files changed
+182 -27

No files matched your search

+13
View File
@@ -847,6 +847,19 @@ class ConsumerPlugin(
local_added,
self.filename,
self.filename,
custom_fields=[
CustomFieldInstance(
field=field,
**{
CustomFieldInstance.get_value_field_name(
field.data_type,
): self.metadata.custom_fields[field.pk],
},
)
for field in CustomField.objects.filter(
pk__in=self.metadata.custom_fields or {},
)
],
)
def _store(