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.

105 lines
3.1 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ===============================
  5. Point of Sale - Price to Weight
  6. ===============================
  7. This module extends Odoo Point Of Sale features, to allow to scan barcode
  8. with price and to compute according quantity.
  9. In Odoo by default, there are three types of barcode rules for products.
  10. * 'Unit Product' (type='product'). Scanning a product will add a unit of this
  11. product to the current order.
  12. * 'Priced product' (type='price'). A price is extracted from the barcode, and
  13. a new line with the given price and a quantity = 1 is added to the current
  14. order.
  15. * 'Weighted product' (type='weight). A weight is extracted from the barcode,
  16. and a new line with the given weight, and a computed price
  17. (quantity * Unit price) is added to the current order.
  18. This module add a new option:
  19. * 'Priced Product (Computed Weight)' (type='price_to_weight'). A price is
  20. extracted from the barcode, and a new line with the given price, and a
  21. computed quantity (Price / Unit Price) is added to the current order.
  22. .. image:: /pos_price_to_weight/static/description/barcode_rule.png
  23. :width: 800 px
  24. This module is usefull in shops with products scaled, to manage correctly
  25. stock quantities.
  26. Samples
  27. * Given a product with a unit price of 1,50€ / kg
  28. * The barcode is 0212345{NNNDD}x where:
  29. * 02 is the prefix of the barcode rule
  30. * 12345 is the product number
  31. * {NNNDD} is the price of the scaled product
  32. * x is the control digit
  33. if {NNNDD} is 00265, the price is so 2,65€ and the according quantity is
  34. 2,65€ / 1,5 €/kg = 1,767 kg
  35. .. image:: /pos_price_to_weight/static/description/pos_test_1.png
  36. :width: 800 px
  37. if {NNNDD} is 00810, the price is so 8,10€ and the according quantity is
  38. 8,10€ / 1,5 €/kg = 5,400 kg
  39. .. image:: /pos_price_to_weight/static/description/pos_test_2.png
  40. :width: 800 px
  41. Configuration
  42. =============
  43. * Go to 'Point of Sale' / 'Configuration' / 'Barcode Nomenclatures'
  44. * Edit your barcode rules, according to your barcodes settings
  45. Usage
  46. =====
  47. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  48. :alt: Try me on Runbot
  49. :target: https://runbot.odoo-community.org/runbot/184/9.0
  50. Bug Tracker
  51. ===========
  52. Bugs are tracked on `GitHub Issues
  53. <https://github.com/OCA/pos/issues>`_. In case of trouble, please
  54. check there if your issue has already been reported. If you spotted it first,
  55. help us smash it by providing detailed and welcomed feedback.
  56. Credits
  57. =======
  58. Images
  59. ------
  60. Icon parts come from http://icons8.com
  61. Contributors
  62. ------------
  63. * Sylvain LE GAL <https://twitter.com/legalsylvain>
  64. Maintainer
  65. ----------
  66. .. image:: https://odoo-community.org/logo.png
  67. :alt: Odoo Community Association
  68. :target: https://odoo-community.org
  69. This module is maintained by the OCA.
  70. OCA, or the Odoo Community Association, is a nonprofit organization whose
  71. mission is to support the collaborative development of Odoo features and
  72. promote its widespread use.
  73. To contribute to this module, please visit https://odoo-community.org.