Improve OCR navigation
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -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)
|
||||
===================
|
||||
|
||||
@@ -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
|
||||
--------
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user