Search 1.9 billion lines of Odoo code on GitHub

attachment_preview

Author: Therp BV,Onestein,Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: OCA/vertical-isp
Dependencies: web
Languages: CSS (20, 0.0%), HTML (475, 1.1%), JavaScript (43079, 97.9%), LESS (46, 0.1%), PO File (134, 0.3%), Python (122, 0.3%), XML (41, 0.1%), and reStructuredText (64, 0.1%)
Other repositories: 13794827954/knowledge, 5B-github/knowledge, AbdelghaniDr/knowledge, Alfa-90/knowledge, Aselcis-Consulting/knowledge, BDO-ES/knowledge, BT-dgoeppner/knowledge, BradooTech/knowledge, Change2improve/knowledge, ClearCorp/oca-knowledge, Cloudxtreme/knowledge, Domatix/knowledge, EBII/knowledge, ERPLibre/knowledge, Endika/knowledge, ForgeFlow/knowledge, Gabinete-Digital/knowledge, Gavin1515/knowledge, Gofekra/knowledge, GrupoAlvamex/knowledge, Guobower/knowledge, Ingeos/knowledge, Jarsa/knowledge, JohnXi001/knowledge, Jonekee/knowledge, MakMas/knowledge, MathBenTech/knowledge, NL66278/knowledge, NeatNerdPrime/knowledge, Niboo/knowledge, Noviat/knowledge, NucleoHIS/knowledge, OCA-MUK/knowledge, OCA/knowledge, ORETEK/knowledge, OutillageStEtienne/knowledge, Raynor013/knowledge, SSISoftware/knowledge, SalahAdDin/knowledge, SanteLibre/knowledge, SeuMarco/knowledge, Siddhant-Pageni/knowledge, StefanRijnhart/knowledge, Tecnativa/knowledge, Tonow-c2c/knowledge, VCLS-org/knowledge, Vauxoo/knowledge, VisiionSolucionesTecnologicas/knowledge, Yajo/knowledge, aaltinisik/knowledge, abererk/knowledge, abstract-open-solutions/knowledge, acsone/knowledge, adhoc-dev/knowledge, ajinvn2019/knowledge, akretion/knowledge, alanljj/knowledge, alexlafalce/knowledge, algiopensource/knowledge, andhit-r/knowledge, angaraggantumur/knowledge, anhvu-sg/knowledge, ansinaesmejor/knowledge, antwal/knowledge, apetbiz/knowledge, arnasan/knowledge, aryajimbaran/knowledge, aurestic/knowledge, be-cloud-be/knowledge, bishalgit/knowledge, brain-tec/knowledge, bvkl/knowledge, camptocamp/knowledge, cedvict/knowledge, cialuo/knowledge, clagoa/OCA_knowledge, coopiteasy/knowledge, cubells/knowledge, damendieta/knowledge, daramousk/knowledge, darshan-odoo/knowledge, diagramsoftware/knowledge, diassynthesis/knowledge, difusionvisual/knowledge, diggy128/knowledge, don-systems/knowledge, dreispt/knowledge, dvitme/knowledge, eezee-it/knowledge, elvirekemajou/knowledge, ernestotejeda/knowledge, esperandus/knowledge, exaap-guillermo/knowledge, exosoftware/oca-knowledge, fayezqandeel/knowledge, flachica/knowledge, fnegrini/knowledge, forzenboys/knowledge, gaobrian/knowledge-1, garzadekoster/knowledge, gastonfeng/knowledge, gbeuning/knowledge, gfcapalbo/knowledge, grizna/knowledge, gurneyalex/knowledge, hbrunn/knowledge, id42sistemas/knowledge, initOS/knowledge, inspyration/knowledge, jacky82669513/knowledge, javialgios/knowledge, jeroen-vet/knowledge, jorcan46/knowledge, joseernestomendez/knowledge, keecome/knowledge, kmee/knowledge, kos94ok-3D/knowledge, lfreeke/knowledge, lideritjnma/knowledge, likaiyuan/knowledge, lincersolucoes/oca-knowledge, llopez-aitic/knowledge, lonelysun/knowledge, lubonbvba/knowledge, marcinogon/knowledge, marianoadangelo/knowledge, marionumza/knowledge, markrobinson85/knowledge, max3903/knowledge, minhhq09/knowledge, mohamedhabibchallouf/knowledge, mohzein/knowledge, molandtoxx/knowledge, moltisinc/knowledge, monksoftware/knowledge, morganconlan/knowledge, morgs68/knowledge, moylop260/knowledge, naousse/knowledge, nguyenductamlhp/knowledge, nick2474/knowledge, niulinlnc/knowledge, odoobgorg/OCA-knowledge, omarKady/knowledge, onurugur/knowledge, open-synergy/knowledge, osfp-Pakistan/knowledge, pedrobaeza/knowledge, pegonzalezs/knowledge, popsolutions/knowledge, pscloud/knowledge, purple-giraffey/knowledge, pythoner-3k/knowledge, raycarnes/knowledge, rmorant/knowledge, rossasa/knowledge, rousseldenis/knowledge, rsanhasan/knowledge, rschnapka/knowledge, sagar-developer-92/knowledge, samirGuesmi/knowledge, sanube/knowledge, savoirfairelinux/knowledge, sendalpegat/knowledge, sergiocorato/knowledge, serpentcs-dev1/knowledge, simahawk/knowledge, spacimek/knowledge, steingabelgaard/knowledge, tafaRU/knowledge, takinobori/oca-knowledge, tarteo/knowledge, tegin/knowledge, thinkopensolutions/oca-knowledge, tonihr/knowledge, ursais/knowledge, vertelab/knowledge, vijayvani/knowledge, wei20024/knowledge-1, westlyou/knowledge, wuhuizhong/knowledge, x0rzkov/odoo-knowledge, xpansa/knowledge, xwh123807/knowledge, y2gsmith/knowledge, yasmanycastillo/knowledge, yvaucher/knowledge, z-shabani/knowledge, zeroincombenze/knowledge, and zoolook495/knowledge

<h1 class="title">Preview attachments</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/knowledge/tree/11.0/attachment_preview"><img alt="OCA/knowledge" src="https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/knowledge-11-0/knowledge-11-0-attachment_preview"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/118/11.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This addon allows to preview attachments supported by <a class="reference external" href="http://viewerjs.org">http://viewerjs.org</a>.</p> <p>Currently, that's most Libreoffice files and PDFs.</p> <img alt="Screenshot of split form view" src="https://raw.githubusercontent.com/attachment_preview/static/description/screenshot-split.png" style="width: 100%;" /> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id1">Installation</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a></li> <li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id5">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> <li><a class="reference internal" href="#other-credits" id="id7">Other credits</a></li> <li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2><a class="toc-backref" href="#id1">Installation</a></h2> <p>For filetype recognition, you'll get the best results by installing <code>python-magic</code>:</p> <p>sudo apt-get install python-magic</p> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>The module adds a little print preview icon right of download links for attachments or binary fields. When a preview is opened from the attachments menu it's shown next to the form view. From this screen you can navigate through the attachments using the arrow buttons. Using the pop-out button next to the navigational buttons you can open the preview in a separate window.</p> <img alt="Screenshot navigator" src="https://raw.githubusercontent.com/attachment_preview/static/description/screenshot-paginator.png" /> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/knowledge/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/knowledge/issues/new?body=module:%20attachment_preview%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id4">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id5">Authors</a></h3> <ul class="simple"> <li>Therp BV</li> <li>Onestein</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <ul class="simple"> <li>Holger Brunn &lt;<a class="reference external" href="mailto:hbrunn&#64;therp.nl">hbrunn&#64;therp.nl</a>&gt;</li> <li>Dennis Sluijk &lt;<a class="reference external" href="mailto:d.sluijk&#64;onestein.nl">d.sluijk&#64;onestein.nl</a>&gt;</li> </ul> <a name="other-credits"></a> <h3 class="with-subtitle"><a class="toc-backref" href="#id7">Other credits</a></h3> <h3 class="section-subtitle" id="addon-icon"><span class="section-subtitle">Addon icon</span></h3> <ul class="simple"> <li>courtesy of <a class="reference external" href="http://commons.wikimedia.org/wiki/Crystal_Clear">http://commons.wikimedia.org/wiki/Crystal_Clear</a></li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id8">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/knowledge/tree/11.0/attachment_preview">OCA/knowledge</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>

Dependency Graph