Update document parsing link activation

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-04-22 21:39:41 -04:00
parent 3043f22de8
commit e609e89e0e
3 changed files with 6 additions and 5 deletions

View File

@@ -119,6 +119,7 @@
* Replace DocumentTypeSelectioForm with an improved * Replace DocumentTypeSelectioForm with an improved
version that does filtering. version that does filtering.
* Update OCR links activation. * Update OCR links activation.
* Update document parsing link activation.
3.1.11 (2019-04-XX) 3.1.11 (2019-04-XX)
=================== ===================

View File

@@ -151,6 +151,7 @@ Other changes
* Replace DocumentTypeSelectioForm with an improved * Replace DocumentTypeSelectioForm with an improved
version that does filtering. version that does filtering.
* Update OCR links activation. * Update OCR links activation.
* Update document parsing link activation.
Removals Removals
-------- --------

View File

@@ -153,18 +153,17 @@ class DocumentParsingApp(MayanAppConfig):
menu_multi_item.bind_links( menu_multi_item.bind_links(
links=(link_document_submit_multiple,), sources=(Document,) links=(link_document_submit_multiple,), sources=(Document,)
) )
menu_object.bind_links(
links=(link_document_submit,), sources=(Document,)
)
menu_secondary.bind_links( menu_secondary.bind_links(
links=( links=(
link_document_content, link_document_parsing_errors_list, link_document_content_download,
link_document_content_download link_document_parsing_errors_list,
link_document_submit
), ),
sources=( sources=(
'document_parsing:document_content', 'document_parsing:document_content',
'document_parsing:document_content_download', 'document_parsing:document_content_download',
'document_parsing:document_parsing_error_list', 'document_parsing:document_parsing_error_list',
'document_parsing:document_submit',
) )
) )
menu_tools.bind_links( menu_tools.bind_links(