Skip to main content

Beta License: AGPL-3 OCA/pos Translate me on Weblate Try me on Runbot

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.

https://raw.githubusercontent.com/OCA/pos/12.0/pos_default_empty_image/static/description/pos_display_default.png

With this module, the display of the product is changed, (Size of the name is increased for better visibility);

https://raw.githubusercontent.com/OCA/pos/12.0/pos_default_empty_image/static/description/pos_display_improved.png

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

Table of contents

Changelog

  • Feb 2016 : First version

  • March 2018 : migration to v10 and improvements for Display

  • January 2020 : migration to v12

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.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Akretion

  • GRAP

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

This module is part of the OCA/pos project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo12-addon-pos-default-empty-image 12.0.1.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 odoo12-addon-pos-default-empty-image 12.0.1.1.1
File Interpreter ABI Platform
odoo12_addon_pos_default_empty_image-12.0.1.1.1-py3-none-any.whl Python 3 none any Details

Release files / odoo12_addon_pos_default_empty_image-12.0.1.1.1-py3-none-any.whl

Download URL odoo12_addon_pos_default_empty_image-12.0.1.1.1-py3-none-any.whl
Size 156.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
765ecbff8a5db289138f98c296bd8d4d8f8fc571bdbf551b5ee029a9222ee78f
BLAKE2b-256 checksum
How to use checksums
634f527f9fb6b0fdcaa8441fc1e287bf6a1a4bd296d0ccc46bf78e9684e0e3d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.5
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