diff --git a/pos_default_empty_image/README.rst b/pos_default_empty_image/README.rst index 2623a082..aa61cafc 100644 --- a/pos_default_empty_image/README.rst +++ b/pos_default_empty_image/README.rst @@ -2,9 +2,9 @@ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 -======================= -POS Default Empty Image -======================= +================================================ +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. @@ -12,11 +12,12 @@ and to improve products display. Point Of Sale Load faster ------------------------- -In the point of sale, trying to load known inexistant images is a waste of time. +In the point of sale, loading product 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, you are happy to save thousands of useless requests: -the POS load way faster. +don't have images, removing thousands of useless requests is welcome: +the POS loads faster that way. Improve products display diff --git a/pos_default_empty_image/__manifest__.py b/pos_default_empty_image/__manifest__.py index e08c1364..584af475 100644 --- a/pos_default_empty_image/__manifest__.py +++ b/pos_default_empty_image/__manifest__.py @@ -3,9 +3,9 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'POS Default empty image', - 'version': '10.0.0.1.0', + 'version': '10.0.1.0.0', 'category': 'Point Of Sale', - 'summary': 'Optimise load time for products with no image', + 'summary': 'Optimize loading time for products without image', 'author': "Akretion, GRAP, Odoo Community Association (OCA)", 'website': "https://akretion.com", 'license': 'AGPL-3', diff --git a/pos_default_empty_image/static/src/js/widgets.js b/pos_default_empty_image/static/src/js/widgets.js index ab7c82b5..baa6187e 100644 --- a/pos_default_empty_image/static/src/js/widgets.js +++ b/pos_default_empty_image/static/src/js/widgets.js @@ -22,7 +22,6 @@ odoo.define('pos_default_empty_image.widgets', function (require) { else { var cached = this.product_cache.get_node(product.id); if(!cached){ - var image_url = this.get_product_image_url(product); var product_html = QWeb.render('ProductNoImage',{ widget: this, product: product,