From 13dc3423a41a1e3e126f8c94aa6663c36ac46264 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Tue, 18 Apr 2017 14:20:00 +0200 Subject: [PATCH] [REF] cosmetic points --- pos_default_empty_image/README.rst | 8 ++++---- pos_default_empty_image/models/product_product.py | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pos_default_empty_image/README.rst b/pos_default_empty_image/README.rst index aa61cafc..19e69ebd 100644 --- a/pos_default_empty_image/README.rst +++ b/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. diff --git a/pos_default_empty_image/models/product_product.py b/pos_default_empty_image/models/product_product.py index 53f93a0f..8350fa70 100644 --- a/pos_default_empty_image/models/product_product.py +++ b/pos_default_empty_image/models/product_product.py @@ -1,5 +1,8 @@ # -*- coding: utf-8 -*- -# © <2015> +# 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