Optimize loading time for products without image
This module extends the functionality of point of sale to make PoS load faster and to improve products display.
Point Of Sale Load faster
In the point of sale, loading products without image spend unnecessary time and resources.
When you have 8000 products in your Point of Sale and most of them don’t have images, removing thousands of useless requests is welcome: the PoS loads faster that way.
Improve products display
By default, Odoo PoS display a useless generic image for products that doesn’t have images.
With this module, the display of the product is changed, (Size of the name is increased for better visibility);
Technical information
Each time the PoS instantiate a product, it will add this code for each product
<img src="'/web/binary/image?model=product.product&field=image_medium&id='+product.id;" />
The browser will trigger as many requests than there are different urls.
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.product model.
If product has no image, the product image url is not sent to the PoS
Updates
Feb 2016 : First version
March 2018 : migration to v10 and improvements for Display
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 smash it by providing detailed and welcomed feedback.
Credits
Contributors
Hparfr <https://github.com/hparfr> Akretion
Sylvain LE GAL <https://twitter.com/legalsylvain>
Invitu <https://github.com/invitu>
Maintainer
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 https://odoo-community.org.
Metadata
Release files for odoo10-addon-pos-default-empty-image 10.0.1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo10_addon_pos_default_empty_image-10.0.1.0.1-py2-none-any.whl | Python 2 | none | any | Details for odoo10_addon_pos_default_empty_image-10.0.1.0.1-py2-none-any.whl |
Release files / odoo10_addon_pos_default_empty_image-10.0.1.0.1-py2-none-any.whl
| Download URL | odoo10_addon_pos_default_empty_image-10.0.1.0.1-py2-none-any.whl |
|---|---|
| Size | 128.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
516f359fa4ee1455bf6874bf7aec308bd8cb1f3377621bbcc9cf8641fc0c8747
|
|
BLAKE2b-256 checksum How to use checksums |
b58ae6db6491d638f319624dbfc31108f8451e0b6eef99ef93533cd717bfa18d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|
Security for odoo10-addon-pos-default-empty-image 10.0.1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.