Implement use of the injected 'resolved_object' variable to simplify navigation links of objects in lists. Remove obsolete varaibles_tags. Consolidate get_action_links by means of get_menus_links which supports a list of menus to resolve. Remove obsolete 'list_object_variable_name'. Remove 'resolve_for_source' method which was consolidated with the normal resolve method by means of an optional 'source' argument.
This commit is contained in:
@@ -53,7 +53,6 @@ class DocumentWorkflowInstanceListView(SingleObjectListView):
|
||||
'hide_link': True,
|
||||
'object': self.get_document(),
|
||||
'title': _('Workflows for document: %s') % self.get_document(),
|
||||
'list_object_variable_name': 'workflow_instance',
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user