You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

129 lines
4.4 KiB

  1. =======================
  2. POS Default empty image
  3. =======================
  4. .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  5. !! This file is generated by oca-gen-addon-readme !!
  6. !! changes will be overwritten. !!
  7. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  8. .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
  9. :target: https://odoo-community.org/page/development-status
  10. :alt: Beta
  11. .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
  12. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  13. :alt: License: AGPL-3
  14. .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
  15. :target: https://github.com/OCA/pos/tree/12.0/pos_default_empty_image
  16. :alt: OCA/pos
  17. .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
  18. :target: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_default_empty_image
  19. :alt: Translate me on Weblate
  20. .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
  21. :target: https://runbot.odoo-community.org/runbot/184/12.0
  22. :alt: Try me on Runbot
  23. |badge1| |badge2| |badge3| |badge4| |badge5|
  24. This module extends the functionality of point of sale to make PoS load faster
  25. and to improve products display.
  26. Point Of Sale Load faster
  27. =========================
  28. In the point of sale, loading products without image spend unnecessary time
  29. and resources.
  30. When you have 8000 products in your Point of Sale and most of them
  31. don't have images, removing thousands of useless requests is welcome:
  32. the PoS loads faster that way.
  33. Improve products display
  34. ========================
  35. By default, Odoo PoS display a useless generic image for products that doesn't
  36. have images.
  37. .. figure:: https://raw.githubusercontent.com/OCA/pos/12.0/pos_default_empty_image/static/description/pos_display_default.png
  38. :width: 800 px
  39. With this module, the display of the product is changed, (Size of the name
  40. is increased for better visibility);
  41. .. figure:: https://raw.githubusercontent.com/OCA/pos/12.0/pos_default_empty_image/static/description/pos_display_improved.png
  42. :width: 800 px
  43. Technical information
  44. =====================
  45. Each time the PoS instantiate a product, it will add this code for each product
  46. .. code:: html
  47. <img src="'/web/binary/image?model=product.product&field=image_medium&id='+product.id;" />
  48. The browser will trigger as many requests than there are different urls.
  49. If you have many products, the browser will soon reach his limit of
  50. network connections to Odoo server and will wait for free slots instead of
  51. loading other valuable contents. Then the PoS is then very slow to work with.
  52. This module adds a field has_image in product.product model.
  53. If product has no image, the product image url is not sent to the PoS
  54. **Table of contents**
  55. .. contents::
  56. :local:
  57. Changelog
  58. =========
  59. * Feb 2016 : First version
  60. * March 2018 : migration to v10 and improvements for Display
  61. * January 2020 : migration to v12
  62. Bug Tracker
  63. ===========
  64. Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
  65. In case of trouble, please check there if your issue has already been reported.
  66. If you spotted it first, help us smashing it by providing a detailed and welcomed
  67. `feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_default_empty_image%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  68. Do not contact contributors directly about support or help with technical issues.
  69. Credits
  70. =======
  71. Authors
  72. ~~~~~~~
  73. * Akretion
  74. * GRAP
  75. Contributors
  76. ~~~~~~~~~~~~
  77. * Hparfr <https://github.com/hparfr> `Akretion <https://akretion.com>`_
  78. * Sylvain LE GAL <https://twitter.com/legalsylvain>
  79. * Invitu <https://github.com/invitu>
  80. Maintainers
  81. ~~~~~~~~~~~
  82. This module is maintained by the OCA.
  83. .. image:: https://odoo-community.org/logo.png
  84. :alt: Odoo Community Association
  85. :target: https://odoo-community.org
  86. OCA, or the Odoo Community Association, is a nonprofit organization whose
  87. mission is to support the collaborative development of Odoo features and
  88. promote its widespread use.
  89. This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/12.0/pos_default_empty_image>`_ project on GitHub.
  90. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.