diff --git a/attachment_preview/README.rst b/attachment_preview/README.rst new file mode 100644 index 00000000..4f6feebe --- /dev/null +++ b/attachment_preview/README.rst @@ -0,0 +1,46 @@ +Preview attachments +=================== + +This addon allows to preview attachments supported by http://viewerjs.org. + +Currently, that's most Libreoffice files and PDFs. + +Installation +============ + +For filetype recognition, you'll get the best results by installing +``python-magic``:: + +sudo apt-get install python-magic + +Usage +===== + +The module adds a little print preview icon right of download links for +attachments or binary fields. + +Credits +======= + +Addon icon +---------- + +* courtesy of http://commons.wikimedia.org/wiki/Crystal_Clear + +Contributors +------------ + +* Holger Brunn + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. diff --git a/attachment_preview/__openerp__.py b/attachment_preview/__openerp__.py index daa1881d..b733a689 100644 --- a/attachment_preview/__openerp__.py +++ b/attachment_preview/__openerp__.py @@ -24,19 +24,7 @@ "author": "Therp BV", "license": "AGPL-3", "complexity": "normal", - "description": """ -This addon allows to preview attachments supported by http://viewerjs.org. - -Currently, that's most Libreoffice files and PDFs. - -For filetype recognition, you'll get the best results by installing -``python-magic``. - -Acknowledgements -================ - -Addon icon courtesy of http://commons.wikimedia.org/wiki/Crystal_Clear - """, + 'summary': 'Preview attachments supported by Viewer.js', "category": "Knowledge Management", "depends": [ 'web',