Improve OCR navigation

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-04-22 21:30:01 -04:00
parent 0865975f2e
commit 1265c16161
3 changed files with 6 additions and 7 deletions

View File

@@ -118,6 +118,7 @@
* Move the favorite document views to their own module.
* Replace DocumentTypeSelectioForm with an improved
version that does filtering.
* Update OCR links activation.
3.1.11 (2019-04-XX)
===================

View File

@@ -150,6 +150,7 @@ Other changes
* Move the favorite document views to their own module.
* Replace DocumentTypeSelectioForm with an improved
version that does filtering.
* Update OCR links activation.
Removals
--------

View File

@@ -148,17 +148,14 @@ class OCRApp(MayanAppConfig):
menu_multi_item.bind_links(
links=(link_document_submit_multiple,), sources=(Document,)
)
menu_object.bind_links(
links=(link_document_submit,), sources=(Document,)
)
menu_secondary.bind_links(
links=(
link_document_ocr_content, link_document_ocr_errors_list,
link_document_ocr_download
link_document_ocr_errors_list,
link_document_ocr_download, link_document_submit
),
sources=(
'ocr:document_content', 'ocr:document_ocr_error_list',
'ocr:document_ocr_download',
'ocr:document_submit', 'ocr:document_ocr_content',
'ocr:document_ocr_download', 'ocr:document_ocr_error_list'
)
)
menu_secondary.bind_links(