Enhancement: support assigning custom field values in workflows (#9272)

This commit is contained in:
shamoon 2025-03-05 12:30:19 -08:00 committed by GitHub
parent 89e5c08a1f
commit edc7181843
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 605 additions and 175 deletions

View file

@ -1271,6 +1271,16 @@ class WorkflowAction(models.Model):
verbose_name=_("assign these custom fields"),
)
assign_custom_fields_values = models.JSONField(
_("custom field values"),
null=True,
blank=True,
help_text=_(
"Optional values to assign to the custom fields.",
),
default=dict,
)
remove_tags = models.ManyToManyField(
Tag,
blank=True,