Add the option to enable or disable parsing when uploading a document for each document type. Add a new setting option to enable automatic parsing for each new document type created.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -9,7 +9,10 @@ namespace = PermissionNamespace('document_parsing', _('Document parsing'))
|
||||
permission_content_view = namespace.add_permission(
|
||||
name='content_view', label=_('View the content of a document')
|
||||
)
|
||||
|
||||
permission_document_type_parsing_setup = namespace.add_permission(
|
||||
name='document_type_setup',
|
||||
label=_('Change document type parsing settings')
|
||||
)
|
||||
permission_parse_document = namespace.add_permission(
|
||||
name='parse_document', label=_('Parse the content of a document')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user