Update document parsing app

Update URL parameters to the "_id" forms. Add keyword arguments.
Remove use of is_path in the DOCUMENT_PARSING_PDFTOTEXT_PATH
setting.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-01-21 00:29:28 -04:00
parent fc29309f68
commit c0b34067ef
11 changed files with 75 additions and 71 deletions

View File

@@ -7,12 +7,12 @@ from mayan.apps.permissions import PermissionNamespace
namespace = PermissionNamespace(label=_('Document parsing'), name='document_parsing')
permission_content_view = namespace.add_permission(
name='content_view', label=_('View the content of a document')
label=_('View the content of a document'), name='content_view'
)
permission_document_type_parsing_setup = namespace.add_permission(
name='document_type_setup',
label=_('Change document type parsing settings')
label=_('Change document type parsing settings'),
name='document_type_setup'
)
permission_parse_document = namespace.add_permission(
name='parse_document', label=_('Parse the content of a document')
label=_('Parse the content of a document'), name='parse_document'
)