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.

109 lines
3.4 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 - Store Draft Orders
  6. ==================================
  7. Allow to close a Session even if there are some PoS Orders in draft state.
  8. By default, in Odoo, All PoS Orders must be in 'paid' or 'invoiced' state to
  9. allow user to close the session.
  10. This module can be usefull to let Orders in draft 'state' for some customers.
  11. Feature
  12. -------
  13. 1. New computed field 'is_partial_paid' on PoS Order
  14. * This field is True, if the PoS order is in a draft state with some
  15. payments;
  16. * Forbid to close a session if there is a partial paid Order, to avoid to have
  17. Account Move Lines that can not be reconciled;
  18. * In the tree view, the partial_paid orders are displayed in red colors;
  19. .. image:: ./static/description/pos_order_states.png
  20. :alt: Blue, red and black orders depending of payments.
  21. 2. Possibility to close session
  22. * if a PoS order is in a 'draft' state (without any payment), the PoS Order
  23. will be unassociated to the current session, when closing the session;
  24. * When opening a new session, the PoS Orders in 'draft' state will be
  25. associated to the new session, based on the user_id;
  26. **Workflow**
  27. * The PoS order 'Main/0004' is in draft state, before closing the session
  28. .. image:: ./static/description/1_before_closing.png
  29. * The PoS order is unassociated of the closed session 'POS/2015/09/05/01'
  30. .. image:: ./static/description/2_after_closing.png
  31. * The PoS order is associated to the new opened session 'POS/2015/09/05/02'
  32. .. image:: ./static/description/3_after_opening.png
  33. Installation
  34. ============
  35. This module will allow users to let orders in a draft state, only for orders
  36. created in back-office.
  37. If you want the same feature for the front-office PoS, please install both
  38. modules : 'pos_store_draft_order' and 'pos_order_load'.
  39. Configuration
  40. =============
  41. * A new field 'allow_store_draft_order' is available in PoS Config Model, to
  42. allow or block the cashier to let Orders in a draft state when closing
  43. session;
  44. Usage
  45. =====
  46. To use this module, you need to:
  47. * go to ...
  48. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  49. :alt: Try me on Runbot
  50. :target: https://runbot.odoo-community.org/runbot/xxxx/8.0
  51. For further information, please visit:
  52. * https://www.odoo.com/forum/help-1
  53. Bug Tracker
  54. ===========
  55. Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
  56. In case of trouble, please check there if your issue has already been reported.
  57. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  58. `here <https://github.com/OCA/pos/issues/new?body=module:%20pos_store_draft_order%0Aversion:%208.0.1.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  59. Credits
  60. =======
  61. Contributors
  62. ------------
  63. * Sylvain LE GAL (https://twitter.com/legalsylvain)
  64. * Julien WESTE
  65. Maintainer
  66. ----------
  67. .. image:: https://odoo-community.org/logo.png
  68. :alt: Odoo Community Association
  69. :target: https://odoo-community.org
  70. This module is maintained by the OCA.
  71. OCA, or the Odoo Community Association, is a nonprofit organization whose
  72. mission is to support the collaborative development of Odoo features and
  73. promote its widespread use.
  74. To contribute to this module, please visit http://odoo-community.org.