Search 1.9 billion lines of Odoo code on GitHub

web_drop_target

Author: Therp BV,Odoo Community Association (OCA)
License: LGPL-3
Branch: 15.0
Repository: brain-tec/web
Dependencies: web
Languages: HTML (366, 46.0%), JavaScript (209, 26.3%), PO File (96, 12.1%), Python (19, 2.4%), Sass (17, 2.1%), XML (20, 2.5%), and reStructuredText (69, 8.7%)
Other branches: 10.0, 10.0.project_HE_222, 11.0, 12.0, 12.0-ocabot-merge-pr-1347-by-dreispt-bump-minor, 12.0-ocabot-merge-pr-1522-by-dreispt-bump-nobump, 12.0-ocabot-merge-pr-1523-by-dreispt-bump-nobump, 12.0-ocabot-merge-pr-1544-by-pedrobaeza-bump-minor, 12.0-ocabot-merge-pr-1570-by-pedrobaeza-bump-patch, 12.0-ocabot-merge-pr-1610-by-pedrobaeza-bump-patch, 12.0-ocabot-merge-pr-1613-by-legalsylvain-bump-patch, 12.0-ocabot-merge-pr-1702-by-dreispt-bump-patch, 12.0-ocabot-merge-pr-1723-by-pedrobaeza-bump-nobump, 12.0-ocabot-merge-pr-1733-by-moylop260-bump-nobump, 12.0-ocabot-merge-pr-1738-by-dreispt-bump-nobump, 12.0-ocabot-merge-pr-1760-by-legalsylvain-bump-patch, 12.0-ocabot-merge-pr-1827-by-dreispt-bump-patch, 12.0-ocabot-merge-pr-2026-by-dreispt-bump-minor, 12.0.project_GV_545, 12.0.project_MI_465, 12.0.project_PR_606, 13.0, 13.0-ocabot-merge-pr-1415-by-dreispt-bump-nobump, 13.0-ocabot-merge-pr-1600-by-pedrobaeza-bump-patch, 13.0-ocabot-merge-pr-1814-by-dreispt-bump-nobump, 14.0, 14.0-ocabot-merge-pr-1786-by-dreispt-bump-nobump, 14.0-ocabot-merge-pr-1923-by-dreispt-bump-nobump, 14.0-ocabot-merge-pr-2127-by-pedrobaeza-bump-nobump, 15.0-ocabot-merge-pr-2251-by-pedrobaeza-bump-nobump, 15.0.project_LA_443, 15.0.project_SV_559, 15.0.project_SY_639, 15.0.test, add/14.0/web_widget_statusbar_visible_from_record, dependabot/npm_and_yarn/web_widget_ckeditor/static/lib/ckeditor/nanoid-3.2.0, and dependabot/npm_and_yarn/web_widget_ckeditor/static/lib/ckeditor/shelljs-0.8.5
Other repositories: 001101/web-1, 2FM/web, 718981206/web, 965714601/web-1, A-you/web, ACCOMODATA-BVBA/web, AITIC/web, Abdulrahman3282/web, AdriaGForgeFlow/web, AlexandreDias23/web, Alfa-90/web, AnilKesariya/web, AntoniRomera/web, Ark74/web, As400it/web, AsEAsEAsEROMaSe/web, AyoubZahid/web, BADEP/web, BS-creator/web, BT-nstuder/web, Banetese/web, BenjaHe/web, Bochelly/web, Bubbles-IT/web, CB-Gran-Canaria/web, CFarhad/web-1, Callino/web, ChanFeei/web, Change2improve/web, ChenBing19980410/web-1, Chure43/web, ClancyQiao/web, Colorlessgold/web, ComitorDevTeam/web, CompassionCH/web, CrazyGuo/web, Cy-Ghost/web, DMGSys/web, Daemo00/web, Dan-Stephen/web, DarkIsComing/web, Darknroses/web, Decikingship/web, Dhirendrasinh-SerpentCS/web, Digital5-Odoo/web, DjamelEd/web, Dobtor-OCA/web, DreamSpacexx/web, DudhatShivam/web, ELMARDI0107/web, ERPLibre/web, Ecnart/web, EdyKend/web, EgyCrash/web, ElgatodeSchrodinger/web, Ellafimouheb/web, Feinhe/web, ForgeFlow/web, GSLabIt/web, GabbasovDinar/web, Gabinete-Digital/web, Gio666/web, GlodoUK/oca-web, Glue-Software-Engineering-AG/web, Gonscar88/web, GrupoAlvamex/web, GuavanaUX/web, Guobower/OCA-web, HirenDangar/web, HomerDeoDatu/web, Ingeos/web, IronStraightManUser/web, Jarsa-dev/web, Jarsa/web, JayVora-SerpentCS/web, JazziMc/web, JoanMarin/web, JohnLYH/web, JohnmarkEnriquez/web, Jonathan-pr/web, JonathanOsAlc/web, KENLYLST/web, KKamaa/web, KareemAbuzaid/web, KonaERP/web, Leuan12/web, LevelPrime/web, Linekio/web, Lpunk/web, MMorlock/web, MacqGit/web, Mahmoud-Alaa-Eldeen/web, Martronic-SA/web, MathBenTech/web, MaxyMoos/web, MediaJockey/web, MeetKD/web, Mefistous/web, Meyjan/web, MicheleZak/web, MihranThalhath/web, MindAndGo/web, Mixedmick/web, MjAbuz/web, Morsiesml/web, Muhamed-Git/web, Murtaza-Mithaiwala/web, NL66278/web, NeatNerdPrime/web, Netsoro/web, NextERP-Romania/web, Nicodebug/odooWeb, Nikul-Chaudhary/web, Nowheresly/web, OCA-MUK/web, OCA/web, Odoo-Italia-Associazione/web, Ommo73/web, PCatinean/web, PESOL/web, Palpid/web, Paul98isep/web, Phaunswater/web, PlanetaTIC/web, PrenorSistemas/web, QubiQ/web, RLeeOSI/web, SalahAdDin/web, SanteLibre/web, Saul-Qiang2/web, ScottAI/web, SequarSrl/web, SerpentConsultingServices/web, SeuMarco/web, Siddhant-Pageni/web, SimoRubi/web, Sirius7/web, SirumTME/web, SolutionSeekers/web, Sote-LS/web, SportPursuit/web, Sroeurnsuon/web, StefanRijnhart/web, Studio73/web, Syci-Consulting/web, TDu/web, TRESCLOUD/web, Tardo/web, Tecnativa/web, ThanhMany/web, VCLS-org/web, VanMoof/web, Vauxoo/web, VisiionSolucionesTecnologicas/web, VitalPet/web, WEBDEV-PROTEC/web, WilldooIT/web, YevhenPechurin/web, YogeshMahera-SerpentCS/web, Zoubid/web, a4435351/web, aaltinisik/web, abgfbr/web, acsone/web, adhoc-dev/web, adriansteel/web, agemticcl/web, agenterp/web, agranadosb/web, agrista/odoo-web, ahmadheriyanto/web, ahmedgenina/web, aitorbouzas/web, ajas91/web, ajinvn2019/web, akloptim/web, akretion/web, alan80080/web, algiopensource/web, alinolandry/web, ammarofficewla/web, anandkansagra/web, anderson2304/web, androettop/web, anhnangcuaanh/web, anhvu-sg/web, aniket852016/web, anishagg17/web, ansinaesmejor/web, antilhue/web, antonioburic/web, arielwunderlich/web, arkyalpyae/web, ashmita34/web, asitemap/web, asphaltzipper/web, athirapnair/web, aurestic/web, avoinsystems/web, barkhass89/web, baruklucifer/web, bishalgit/web, bizzappdev/web, blackbelts01/web, blaggacao/web, blooparksystems/web, bmorelax/web, bmya/web, boky1993/web, bolderdene123/web, boskowski/web, brainbeanapps/web, brian10048/web, britoederr/web, bud-e/web, buidinhsy/web, buiminhthanh3a/web, buoncuaanh/web, burakberkanbostanci/web, camptocamp/web, changshuai1/web, chermed/web, cogaihien/web, conandark/web, coopiteasy/web, cormaza/web, cvinh/web, cxinde/web, damcar/web, dani-xtendoo/web, daniboy2215/web, danztensai/web, daoviet/web, daramousk/web, darshan-odoo/web, davidkhang6/web, delgerS/web, denislour/web, denvian/web, devang-dreambits/web, diagramsoftware/web, diegobgl/web, diggy128/web, dingguijin/web, dinhvannam78/web, dinhvanvuong/web, dkruegerkj/web, dlorenzop87/web, dndoanh/web, dong-z/web, druidoo-dev/web, duongngochien/web, duyisu/web, dvalladares66/web, dynapps/web, eLBati/web, ecosoft-odoo/web, edlwise/web, eezee-it/web, ehsu0407/web, elteatroescultura/web, emagdalenaC2i/web, eng-eslam-a-y/web, enmasys/web, epierre3/web, eslAmer/web, espo-tony/web, essamcis/web, etobella/web, evansadji/web, exosoftware/oca-web, factorlibre/web, falinwasales/web, fallewi/web, farah-cherif/web, farinoire/web, firefly1994/web, fjouatte/web, focusate/web-oca, foramaktiv/web, gab-net/web, gajendra117/web-2, gastonfeng/web, gfcapalbo/web, gimebreak/web, githubtaotao/web, grindtildeath/web, gtorresemmanuel/web, harinathsrinivasan/web, haroldtamo/web, hassanfadl/web, hbrunn/web, hefeilaowang/web, hinfo506/web, hiren-serpentcs/web, hoangthithao/web, hoathom/web, hpatelserpentcs/web, huntergps/web, i-vyshnevska/web, iSqXIE/web, ibudgie/web, ideaspositivas-group/web, igor-mitin/web, ilecyang/web, inforpordev/web, initOS/web, inspiredbusiness/web, insscn/web, intissarB/web, intoqh/web, isabellerichard/web, isoscl/web, it-projects-llc/web, itspeepo/web, jacky82669513/web, jans23/web, janverb/web, javiergm02/web, jcdrubay/web, jchanme/web, jeroen7s/web, jguerriat/web, jhasolo/web, jhonaelramos/web, jimmyec/web, jobiols/oca-web, johnotoole68/web, josueBulle/web, jpcweb/web, jrdabrio/web, julenalgios/web, kamasteve/web, karlis-dreizis/web, karol1985/web, katiakweb/web, kejuswiss/web, keylor2906/web, khanvuthy88/web, khidir15/web-1, killvis/web, kitworks-systems/web, kkasing11/web, kmee/web, kos94ok-3D/web, kurniawanlucky/web, kyrylogr/web, lathiphuong/web, lbaldi/web, leanhtuan1996/web, legalsylvain/web, leizhan17/web, lembregtse/web, leonidasthe300/web, lgharib/web, lideritjnma/web, lilotter45/web, lincersolucoes/oca-web, lincoln6delta/web, lisidan/web, liulongyunwanfeng/web, liunux4odoo/web, loftwah/web, lpajaresv/web, lubw/web, luisrodriguez-e2e/web, lukebranch/web, luthihongvy/web, lvzhenbang/web, lweiming/web, magnuscolors/web, manuelcalerosolis/web, marcelomora/web, marcos-mendez/web, markrobinson85/web, mashanz/web, mayankksolves/web, mcojocaru/web, mecva/web, mediaengagers/web, mgosai/web, mhadi12/web, mharenz/web, miguelangelorocha/web, mingkongz/web, mingleecqu/web, minhhq09/web, mochammadrizanaufal/web, modoolar/oca-web, mohamedhagag/web, monksoftware/web, moustafakhairy4/web, mrshelly/web, msaid251/web, mulaudzicalvin/web, multidadosti-erp/web, munawirsyam/web, murtuzasaleh/web, myonnet/oca-web, nawawi/OCA_web, netzweltmex/web, newtratip/web, ngocanh67/web, ngovantu3/web, ngrandjean/web, nguyenkimphung/web, nguyenmanhhuy45/web, nguyenthibichngoc/web, nguyenthimonghien/web, nguyenthitieuvy/web, nikhil150355/web, nikul-serpentcs/web, nilshamerlinck/web, niulinlnc/web, njeudy/web, nmenkov/web, noorealam96/web, novawish/web, nrdroque/web, ntsirintanis/web, ob0420/web, odof/web, odoogap/web, okapandya/web, onurugur/web, onyanga/web, orlandosorio/web, osamaegypt/web, osiell/web, osoul/web, osvalr/web, p-tombez/web, pamdinhcu/web, paraita/web, pegonzalezspesol/web, petrus-v/web, phamlelan/web, phamngocmaianh/web, phamnguyentram/web, phamvanchau/web, phanthuyhang/web, phanvanduongba/web, phuctranerp/web, piensom/web, pkagori/web, planesnet/oca_web, pnajman-modoolar/web-1, popcomputadores-desenv/web, popsolutions/web, praxigento/oca-web, presenceverte/web, ps-tubtim/web, pscloud/web, putao615/web, pythoner-3k/web, qgzhiguo/web, qibinlin/web, quentinDupont/web, quentingigon/web, raizs/web, ravishekharco/web, rbuisson/web, redblow/web, redcor/web, remi-filament/web, richard-willdooit/web, ristecona/web, robertrottermann/web, robertsoh/web, robertsvx27/web, rosenvladimirov/web, royalline1/web, rquintanam/web, ruben-tonetto/web, rven/web, saas-addons/web, sahil-navadiya/web, samsagaz/web, sanjay-hercules/web, sanube/web, saphiro/web, savoirfairelinux/web, sbejaoui/web, scottliu/web, sebalix/web, sergiocorato/web, servetechafrica/web, sewisoft/web, sgajardo/web, sgheller/web, shengyf1/web, shiram/web, shurshilov/web-1, sidpcomissario/web, simahawk/web, simplifysolutions/web, sinandurgut07/web, singhadarsh0403/web, siweilai/web, sixtofarfan/web, sodexis/web, solvosci/web, srikesh/web, ssaid/web, sschmid-test-org/web, steigendit/web, steingabelgaard/web, stevematos/web, stuti135/web, sudhir-erpharbor/web, sunflowerit/web, syci/web, sysproluisrodriguez/web, szellmark20/web, takinobori/oca-web, tarteo/web, tegin/web, thoongnv/web, thuyduongnhi/web, tianshangjun/web, tienhieuD/web, tirix/web, tirma-sa/web, tpa-odoo/web, trandainghiaan/web, trannguyengiang/web, tranvanchienlam/web, tranvannam34/web, tranvanthai5/web, trevi-software/web, trionoharjadi/web, trobz/web, truongtuquynh/web, truongvanquyet5/web, tvtma/web, umitoprojet/web, unitek-solusi/OCA-web, unpezllamadomiki/web, ursais/web, valtterilattu/web, vanderperre/web, vasiljevicmarko/web, vdedyukhin/web, veetoki/web, versada/web, vertelab/web, vialaurea/OCA-web, vjd8866/web, vnsofthe/web, vsalazar2017/web, wahello/oca-web, watcharapon24/web, waveFuncjs/web, willmakenoise/web, wodeguaiguai/web, wuhuizhong/web, x0rzkov/odoo-web, xavidj/web, xcgd/web, xiaowenzi/web, xiaoyi-yanqing/web, xtjie/web, y2gsmith/web, yanpierchirino/web, yogesh-serpentcs/web, zarumaru/web, zcyuefan/web, zeroheure/web, zeroincombenze/web, and zlf4535/web

<h1 class="title">Drop target support</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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/15.0/web_drop_target"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_drop_target"><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/162/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module is meant as a base drag&amp;drop module supporting other actions after some file is dropped so that other modules can add more features.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#development" id="id2">Development</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id3">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id5">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id6">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <p>To use this module, you need to:</p> <ol class="arabic simple"> <li>drag a file from your local computer onto an Odoo form view</li> <li>it should become an attachment of the currently opened record</li> </ol> <img alt="Screenshot" src="https://raw.githubusercontent.com/web_drop_target/static/description/screenshot.png" /> <a name="development"></a> <h2><a class="toc-backref" href="#id2">Development</a></h2> <p><strong>Libraries</strong></p> <ul class="simple"> <li><a class="reference external" href="https://raw.githubusercontent.com/beatgammit/base64-js">base64js</a>.</li> </ul> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id3">Known issues / Roadmap</a></h2> <ul class="simple"> <li>dropping on list or kanban views would be nice too</li> <li>handle multiple files</li> <li>add an upload progress meter for huge files</li> <li>trigger custom events about different stages of the drop operation for other addons to hook in</li> <li>Install document module to display attachments in the sidebar</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id4">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/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/web/issues/new?body=module:%20web_drop_target%0Aversion:%2015.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="#id5">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id6">Authors</a></h3> <ul class="simple"> <li>Therp BV</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id7">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>Pablo Fuentes &lt;<a class="reference external" href="mailto:pablo&#64;studio73.es">pablo&#64;studio73.es</a>&gt;</li> <li>Akim Juillerat &lt;<a class="reference external" href="mailto:akim.juillerat&#64;camptocamp.com">akim.juillerat&#64;camptocamp.com</a>&gt;</li> <li>Enric Tobella &lt;<a class="reference external" href="mailto:etobella&#64;creublanca.es">etobella&#64;creublanca.es</a>&gt;</li> <li>Lois Rilo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li> <li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul> <li>Alexandre D. Díaz</li> </ul> </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/web/tree/15.0/web_drop_target">OCA/web</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>