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.7 KiB

  1. =========================
  2. Point Of Sale - Invoicing
  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_invoicing
  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_invoicing
  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 extend the Point of Sale Odoo module, regarding invoicing.
  25. This module prevent to make some mistakes in Odoo Point of Sale
  26. regarding invoices generated via Point of Sale.
  27. Without this module
  28. ~~~~~~~~~~~~~~~~~~~
  29. When an invoice generated from Point of Sale is confirmed
  30. it is in a 'open' state, until the session is closed, and the entries are
  31. generated. At this step, invoice will be marked as 'paid' and the related
  32. accounting moves will be reconcilied.
  33. So, as long as the session is not closed, any user can:
  34. * cancel the invoice;
  35. * register a payment;
  36. * reconcile the invoice with an existing payment;
  37. All that action should be prohibited because the payment exists.
  38. With that module
  39. ~~~~~~~~~~~~~~~~
  40. All those actions will not be possible anymore.
  41. Note that the changes only impact the opened invoice coming from point of sale,
  42. before the session is closed.
  43. Technically
  44. -----------
  45. * add a ``pos_pending_payment`` field on the ``account.invoice`` to mark the
  46. items that shouldn't be paid.
  47. This field is checked when the invoice is created from point of sale,
  48. and is unchecked, when the session is closed.
  49. .. figure:: https://raw.githubusercontent.com/OCA/pos/12.0/pos_invoicing/static/description/account_invoice_form.png
  50. **Table of contents**
  51. .. contents::
  52. :local:
  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
  58. `feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_invoicing%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  59. Do not contact contributors directly about support or help with technical issues.
  60. Credits
  61. =======
  62. Authors
  63. ~~~~~~~
  64. * GRAP
  65. Contributors
  66. ~~~~~~~~~~~~
  67. * Sylvain LE GAL <https://twitter.com/legalsylvain>
  68. * Julien WESTE
  69. Maintainers
  70. ~~~~~~~~~~~
  71. This module is maintained by the OCA.
  72. .. image:: https://odoo-community.org/logo.png
  73. :alt: Odoo Community Association
  74. :target: https://odoo-community.org
  75. OCA, or the Odoo Community Association, is a nonprofit organization whose
  76. mission is to support the collaborative development of Odoo features and
  77. promote its widespread use.
  78. This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/12.0/pos_invoicing>`_ project on GitHub.
  79. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.