Add internal_name field to workflow serializer

Fixes workflow API creation view.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-08-21 19:30:08 -04:00
parent c94ed44476
commit ec2dde7483
4 changed files with 248 additions and 213 deletions

View File

@@ -6,6 +6,8 @@
single page navigation to jump to the home view.
* Remove redundant Celery queue declarations from the
file_metadata app.
* Add internal_name field to workflow serializer.
Fixes workflow API creation view.
3.2.6 (2019-07-10)
==================

View File

@@ -13,6 +13,8 @@ Changes
single page navigation to jump to the home view.
- Remove redundant Celery queue declarations from the
file_metadata app.
- Add internal_name field to workflow serializer.
Fixes workflow API creation view.
Removals
--------

View File

@@ -266,7 +266,7 @@ class WritableWorkflowSerializer(serializers.ModelSerializer):
'url': {'view_name': 'rest_api:workflow-detail'},
}
fields = (
'document_types_pk_list', 'label', 'id', 'url',
'document_types_pk_list', 'label', 'id', 'internal_name', 'url',
)
model = Workflow

File diff suppressed because it is too large Load Diff