Added document printing support

This commit is contained in:
Roberto Rosario
2011-05-06 00:46:33 -04:00
parent 0eca667fd4
commit c44a1f947c
14 changed files with 216 additions and 93 deletions

View File

@@ -119,6 +119,7 @@ register_diagnostic('documents', _(u'Documents'), document_missing_list)
register_tool(document_find_all_duplicates, namespace='documents', title=_(u'documents'))
def document_exists(document):
try:
if document.exists():
@@ -150,7 +151,7 @@ if ENABLE_SINGLE_DOCUMENT_UPLOAD:
{'text': _(u'documents'), 'view': 'document_list_recent', 'links': [
document_list_recent, document_list, document_create, \
document_create_multiple
], 'famfam': 'page', 'position': 1}])
else:
register_menu([