Add workflows per document type view

Make workflows, workflows states, workflow transitions column
sortable. Show completion and intial state in the workflow
proxy instance menu list.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-04 21:26:12 -04:00
parent c9b5d2794e
commit 99b180f269
9 changed files with 148 additions and 31 deletions
@@ -131,8 +131,8 @@ class WorkflowStateListView(SingleObjectListView):
def get_extra_context(self):
return {
'hide_columns': True,
'hide_link': True,
'hide_object': True,
'no_results_main_link': link_setup_workflow_state_create.resolve(
context=RequestContext(
request=self.request, dict_={'object': self.get_workflow()}