odoo18/addons_extensions/universal_attachment_preview/__manifest__.py

29 lines
1.2 KiB
Python

{
"name": "Universal Attachment Preview",
"version": "1.0.0",
"summary": "Add a View (eye) button to attachments and preview any file (images, pdf, video, audio, office via conversion).",
"description": "Universal previewer for attachments. Uses LibreOffice for office conversion to PDF.",
"author": "You",
"license": "AGPL-3",
"category": "Tools",
"depends": ["base", "web", "mail", "documents", "onlyoffice_odoo"], # documents optional but helpful
"data": [
# "security/ir.model.access.csv",
# "views/preview_wizard_views.xml",
# "views/assets.xml",
],
'assets': {
'web.assets_backend': [
# "universal_attachment_preview/static/src/css/attachment_preview.css",
"universal_attachment_preview/static/src/xml/binary_field_inherit.xml",
"universal_attachment_preview/static/src/attachment_preview_popup/attachment_preview_popup.xml",
"universal_attachment_preview/static/src/attachment_preview_popup/attachment_preview_popup.js",
"universal_attachment_preview/static/src/js/binary_file_preview.js",
],
},
"installable": True,
"application": False,
}