Skip to main content
License: AGPL-3

POS Default Empty Image

In the point of sale, trying to load known inexistant images is a waste of time.

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.

Technical information

Each time the pos instantiate a product, it will add an

<img src=”’/web/binary/image?model=product.product&field=image_medium&id=’+product.id;” />

The browser will trigger as many requests than there is different url.

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.

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.

Because there is only one url for this placeholder, you will have only one request for all the products with no images.

Indeed, if the product has an image, it will load normally.

Known issues

Updates

  • Feb 2016 : First version

Bug Tracker

Bugs are tracked on GitHub Issues. 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 here.

Credits

Contributors

See also this module pos_improve_images from GRAP for OpenERP 7.

Maintainer

Odoo Community Association

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.

Release files for odoo8-addon-pos-default-empty-image 8.0.0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo8-addon-pos-default-empty-image 8.0.0.1.1
File Interpreter ABI Platform
odoo8_addon_pos_default_empty_image-8.0.0.1.1-py2-none-any.whl Python 2 none any Details

Release files / odoo8_addon_pos_default_empty_image-8.0.0.1.1-py2-none-any.whl

Download URL odoo8_addon_pos_default_empty_image-8.0.0.1.1-py2-none-any.whl
Size 10.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
e70fc7a8fe7159d25ef68e382f597ad0faf842ce1a06c8472f52cbfa56df3a2a
BLAKE2b-256 checksum
How to use checksums
1cc27c180e95cce7ac4dc2f01881290a7cb41055aedfd5cd99c5a4a998e5597d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page