Browse Source

[FIX] wording + remove useless JS code

pull/351/head
Sylvain LE GAL 8 years ago
parent
commit
bcecfc34a8
  1. 13
      pos_default_empty_image/README.rst
  2. 4
      pos_default_empty_image/__manifest__.py
  3. 1
      pos_default_empty_image/static/src/js/widgets.js

13
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

4
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',

1
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,

Loading…
Cancel
Save