mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-21 22:16:44 +01:00
Enhancement: support assigning custom field values in workflows (#9272)
This commit is contained in:
parent
89e5c08a1f
commit
edc7181843
20 changed files with 605 additions and 175 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue