Search 1.9 billion lines of Odoo code on GitHub

pos_default_empty_image

Author: Akretion, GRAP, Odoo Community Association (OCA)
License: AGPL-3
Branch: 8.0-imp-lazy_price_with_taxes
Repository: aurestic/pos
Dependencies: point_of_sale, and web
Languages: JavaScript (24, 1.9%), PO File (1152, 91.4%), Python (27, 2.1%), XML (10, 0.8%), and reStructuredText (47, 3.7%)
Other branches: 10.0, 12.0, 8.0, 8.0-fix_osv_deprecated, 8.0-pos_save_client_error_fix, and 8.0_FIX_pos_order_to_sale_order_tax
Other repositories: 2FM/pos, AK017/pos, AMEERAAA/pos, Aboulwafi/pos, AbubakarHusaain/pos, AcruxLab/pos, AntonioOERP/pos, Ark74/pos, CB-Gran-Canaria/pos, CGenie/pos, Callino/pos, Change2improve/pos, ClearCorp/oca-pos, Comunitea/pos, Confidere/pos, ControlWebManager/pos, Cywaithaka/pos, DatabasesWorks/pos-1, Dobtor-OCA/pos, Domatix/pos, EBII/pos, ERPLibre/pos, EddieIndboo/pos, Ellyan/pos, ElvenStudio/pos, EstebanMonge/pos, Firasbessaad/pos, Fkawala/pos, ForgeFlow/pos, GabbasovDinar/pos, Gabinete-Digital/pos, Gofekra/pos, GrupoAlvamex/pos, GuavanaUX/pos, Guillon88/pos, Guobower/pos, Hectorline/pos, HirenDangar/pos, Ingeos/pos, JayVora-SerpentCS/pos-1, Jeisonpernia/pos, JohnTheBeloved/pos, Jzano/pos, KasunDA/pos, Khanstore/pos, KolushovAlexandr/pos, LasLabs/pos, LevelPrime/pos, Mahmoud-Alaa-Eldeen/pos, Martronic-SA/pos, MathBenTech/pos, Mckamba12/pos, Mefistous/pos, MindAndGo/pos, Murtaza-Mithaiwala/pos, NL66278/pos, NachoAlesLopez/pos, NathanQj/pos, NeatNerdPrime/pos, OCA-MUK/pos, OCA/pos, ORETEK/pos, Odilio/pos, Ommo73/pos, OpusVL/pos, PierrickBrun/pos, PlanetaTIC/pos, PrasongDev/pos-1, QANSEE/pos, QubiQ/pos, RaulCarbonell/pos, SanteLibre/pos, Sarfarazsajjad/pos, SerpentConsultingServices/pos, SetRac/pos, SeuMarco/pos, SimoRubi/pos, StefanRijnhart/pos, Studio73/pos, TRESCLOUD/pos, Tecnativa/pos, Theseverinn/pos, Tonow-c2c/pos, Turiinjargal/pos, VisiionSolucionesTecnologicas/pos, abassvoice/pos, abdulhamidalsalman/pos, abiezersifontes/pos, abstract-open-solutions/pos, acsone/pos, acsonefho/pos, adeel982010/pos, adolfoeliazat/pos, ahilali/pos, ahmed22s885111qq/pos, ahmedgenina/pos, ajinvn2019/pos, akretion/pos, albertkouemou/pos, alfieqashwa/pos, amendoncabh/pos-extras, ammarofficewla/pos, amygeis/pos, anangari/pos, angelmoya/pos, anhvu-sg/pos, ansinaesmejor/pos, apetbiz/pos, apwellington/pos-1, aroodooteam/pos, atilamedia/pos, azmeuk/pos, bacgroup/pos, bankmahal/pos, berpweb/pos, bimajatiwijaya/pos, binhexsystems/pos, bishalgit/pos, bud-e/pos, camptocamp/pos, carrm29/pos, ccarly/pos, chetanrdhaduk/pos, cmayo/pos, coopiteasy/pos, corsisa/pos, cristinamartinrod/pos, dansanti/pos, darmaa/pos, dcorio/pos, detian08/pos, diagramsoftware/pos, diegogd/pos, drojivadiya/pos, druidoo-dev/pos, dsasoftware/pos, e-COSI/pos, eLBati/pos, edkroked/pos, elhamdaoui/pos, elvirekemajou/pos, enmasys/pos, eribowo/pos, etobella/pos, evansochuka/pos, exosoftware/oca-pos, factorlibre/pos, fanguloa/pos, fauzi-tsani/pos, fayezt/pos, fedibits/pos, flotho/pos, fmdl/pos, fraxnet/pos, gaelTorrecillas/pos, garzadekoster/pos, globalic/pos, grap/pos, grethellgarcia/pos, grexe/pos, guadaltech/pos, haidd/pos, haroldtamo/pos, haryoran04/pos, heymanh/pos, hibou-io/oca-pos, hoangpq/pos, hpatelserpentcs/pos, iRichGit/pos, imaralux/pos, invitu/pos, isos/pos, isoscl/pos, jairuque/pos, jajunero/pos, jalaludin/pos, javaaid/pos, jcarlosmontoya/pos, jcsuscriptor/pos, jvpacoin/pos, jweste/pos, kach200/pos, karouani/pos, keadanis/pos, kemekongfrancois/pos, kh-hathout/pos, kmee/pos, lambda-is/pos, lauracvilla-zz/pos, leelapriskila/pos, legalsylvain/pos, leonidasthe300/pos, lideritjnma/pos, lilyLovesJeans/pos, linuxnow/pos, llacroix/pos, lollia6/pos-1, lukehuang/pos, lutonda/pos, makeplerc/pos, manolain/pos, manuel3366/pos, manuelcalerosolis/pos, marionumza/pos, mathieuvatel/pos, mettadipa/pos, minorisa/pos, mnajjari49/pos, mnoukrati/pos, moignon/pos, molandtoxx/pos, mondoraemon/pos, nabima/pos, navarromiguel/pos, neohckim/pos, nilshamerlinck/pos, nodoo/pos, odoosoft/pos, ondrong/pos, open-synergy/pos, osfp-Pakistan/pos, ossamagharib/pos, oswaldasmith/pos, othmancs/pos, ovnicraft/pos, percevaq/pos, petypi/pos, phuctranerp/pos, popcomputadores-desenv/pos, primes2h/pos, pscloud/pos, pythoner-3k/pos, quentinDupont/pos, r-sierra/pos, regaby/pos, resources-hub/pos, retail-ecommerce/pos, reynaldiyosfino/pos, rm-jamotion/pos, robertsvx27/pos, rossasa/pos, royalline1/pos, rudisulistyo/pos-1, rupa-acespritech/pos, sagar-developer-92/pos, samirGuesmi/pos, sanube/pos, saonam/pos, sc4you/pos, schouleu/pos, sebastiken/pos, sendalpegat/pos, simahawk/pos, simonjejcic/pos, simplifysolutions/pos, singcust/pos, soadrca/pos, socomp/pos, solbutec/pos, solvosci/pos, sotav/pos, spacemonkeythe/pos, ssaid/pos, stesi/pos, straziboy/pos, subteno-it/pos, sunflowerit/pos, syci/pos, tafaRU/pos, takobi-online/pos, tanceee/pos, tegin/pos, thinkopensolutions/oca-l10n-brazil, thinkopensolutions/oca-pos, thmaph/pos, timbze/pos, tonihr/pos, tonyli0127/pos, tools-env/pos, trinanda/pos, uktc87504/pos, unitek-solusi/OCA-pos, valenciaricardos/pos, valmarnet/pos, wahello/oca-pos, wajidksa/pos-1, wamdam/pos, weddingjuma/pos, weisk/pos, xpansa/pos, y2gsmith/pos, yasmanycastillo/pos, ythak-ylog/pos, yusniermatos/pos, and zarumaru/pos

<a class="reference external image-reference" 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.svg"> </a> <a name="pos-default-empty-image"></a> <h2>POS Default Empty Image</h2> <p>In the point of sale, trying to load known inexistant images is a waste of time.</p> <p>When you have 8000 products in your Point of Sale and most of them don't have images, you are happy to save thousands of useless requests: the POS load way faster.</p> <a name="technical-information"></a> <h3>Technical information</h3> <p>Each time the pos instantiate a product, it will add an</p> <blockquote> &lt;img src=&quot;'/web/binary/image?model=product.product&amp;field=image_medium&amp;id='+product.id;&quot; /&gt;</blockquote> <p>The browser will trigger as many requests than there is different url.</p> <p>If you have many products, the browser will soon reach his limit of network connections to Odoo server and will wait for free slots instead of loading other valuable contents. Then the POS is then very slow to work with.</p> <p>This module adds a field _has_image_ in product.template and will change the product image url to his default placeholder directly in the POS.</p> <p>Because there is only one url for this placeholder, you will have only one request for all the products with no images.</p> <p>Indeed, if the product has an image, it will load normally.</p> <a name="known-issues"></a> <h3>Known issues</h3> <a name="updates"></a> <h3>Updates</h3> <ul class="simple"> <li>Feb 2016 : First version</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <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 feedback <a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20pos_default_empty_image%0Aversion:%200.1%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">here</a>.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Hparfr &lt;<a class="reference external" href="https://github.com/hparfr">https://github.com/hparfr</a>&gt; <a class="reference external" href="https://akretion.com">Akretion</a></li> <li>Sylvain LE GAL &lt;<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>&gt;</li> <li>Ronald Portier &lt;<a class="reference external" href="mailto:ronald&#64;therp.nl">ronald&#64;therp.nl</a>&gt;</li> </ul> <p>See also this module <a class="reference external" href="https://github.com/grap/odoo-addons-grap/tree/7.0/pos_improve_images">pos_improve_images from GRAP</a> for OpenERP 7.</p> <a name="maintainer"></a> <h4>Maintainer</h4> <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>This module is maintained by the OCA.</p> <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>To contribute to this module, please visit <a class="reference external" href="http://odoo-community.org">http://odoo-community.org</a>.</p>