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.

112 lines
3.5 KiB

  1. ================
  2. PoS Order Margin
  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_margin
  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_margin
  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 support margin on
  25. pos orders.
  26. This gives the profitability by calculating the difference between the Unit
  27. Price and Cost Price.
  28. **Table of contents**
  29. .. contents::
  30. :local:
  31. Usage
  32. =====
  33. To use this module, you need to:
  34. * Go to 'Point Of Sale' / 'Orders' / 'Orders'
  35. * Open an order
  36. .. figure:: https://raw.githubusercontent.com/OCA/pos/12.0/pos_margin/static/description/pos_order_form.png
  37. :width: 800px
  38. Known issues / Roadmap
  39. ======================
  40. This module depends on ``sale_margin`` module to reuse algorithm present in the
  41. function ``_get_purchase_price`` of the model ``sale.order.line`` to
  42. compute correctly purchase price, in a multicurrency context.
  43. This dependency can be removed, when Odoo Core will be correctly refactored,
  44. moving this ``@api.model`` function in a more generic module (``account``
  45. for exemple).
  46. Changelog
  47. =========
  48. 12.0.1.0.0
  49. ~~~~~~~~~~
  50. * Migrate to V12.0
  51. * Reuse ``sale_margin`` computation to handle multi currency context.
  52. * Correct computation of margin, if a module that adds ``uom_id`` on
  53. ``pos.order.line`` is installed.
  54. * Add test
  55. Bug Tracker
  56. ===========
  57. Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
  58. In case of trouble, please check there if your issue has already been reported.
  59. If you spotted it first, help us smashing it by providing a detailed and welcomed
  60. `feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_margin%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  61. Do not contact contributors directly about support or help with technical issues.
  62. Credits
  63. =======
  64. Authors
  65. ~~~~~~~
  66. * GRAP
  67. Contributors
  68. ~~~~~~~~~~~~
  69. * Sylvain LE GAL (https://twitter.com/legalsylvain)
  70. * Wolfgang Pichler
  71. Maintainers
  72. ~~~~~~~~~~~
  73. This module is maintained by the OCA.
  74. .. image:: https://odoo-community.org/logo.png
  75. :alt: Odoo Community Association
  76. :target: https://odoo-community.org
  77. OCA, or the Odoo Community Association, is a nonprofit organization whose
  78. mission is to support the collaborative development of Odoo features and
  79. promote its widespread use.
  80. This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/12.0/pos_margin>`_ project on GitHub.
  81. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.