Cleanup OCR app code and link registration

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-09-24 15:37:18 -04:00
parent d7818b64b0
commit b03758ed8b
4 changed files with 20 additions and 11 deletions

View File

@@ -157,8 +157,9 @@ class OCRApp(MayanAppConfig):
link_document_ocr_download, link_document_submit
),
sources=(
'ocr:document_submit', 'ocr:document_ocr_content',
'ocr:document_ocr_download', 'ocr:document_ocr_error_list'
'ocr:document_ocr_content_delete',
'ocr:document_ocr_content', 'ocr:document_ocr_download',
'ocr:document_ocr_error_list', 'ocr:document_submit',
)
)
menu_secondary.bind_links(