Fix the document type quick label list view.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -180,7 +180,7 @@ class DocumentTypeFilenameDeleteView(SingleObjectDeleteView):
|
||||
|
||||
|
||||
class DocumentTypeFilenameListView(SingleObjectListView):
|
||||
model = DocumentType
|
||||
access_object_retrieve_method = 'get_document_type'
|
||||
object_permission = permission_document_type_view
|
||||
|
||||
def get_document_type(self):
|
||||
|
||||
Reference in New Issue
Block a user