Browse Source

[REF] cosmetic points

pull/263/merge
Sylvain LE GAL 8 years ago
parent
commit
13dc3423a4
  1. 8
      pos_default_empty_image/README.rst
  2. 5
      pos_default_empty_image/models/product_product.py

8
pos_default_empty_image/README.rst

@ -10,10 +10,10 @@ 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 product without image spend unnecessary time
and resources
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:
@ -21,7 +21,7 @@ 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.

5
pos_default_empty_image/models/product_product.py

@ -1,5 +1,8 @@
# -*- coding: utf-8 -*-
# © <2015> <Akretion, GRAP, OCA>
# Copyright (C) 2017 - Today:
# GRAP (http://www.grap.coop)
# Akretion (http://www.akretion.com)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import models, fields, api

Loading…
Cancel
Save