Improve document detection by workflow state including initial state.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-07-07 13:00:22 -04:00
parent 998af4931f
commit e4c88e575f
8 changed files with 97 additions and 57 deletions

View File

@@ -96,7 +96,8 @@ link_workflow_list = Link(
)
link_workflow_state_document_list = Link(
permissions=(permission_workflow_view,),
text=_('State documents'), view='document_states:workflow_state_document_list',
text=_('State documents'),
view='document_states:workflow_state_document_list',
args='resolved_object.pk'
)
link_workflow_state_list = Link(