mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +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
|
|
@ -1471,7 +1471,10 @@ class PostDocumentView(GenericAPIView):
|
|||
created=created,
|
||||
asn=archive_serial_number,
|
||||
owner_id=request.user.id,
|
||||
custom_field_ids=custom_field_ids,
|
||||
# TODO: set values
|
||||
custom_fields={cf_id: None for cf_id in custom_field_ids}
|
||||
if custom_field_ids
|
||||
else None,
|
||||
)
|
||||
|
||||
async_task = consume_file.delay(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue