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.

94 lines
2.1 KiB

7 years ago
7 years ago
7 years ago
  1. .. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
  2. :target: https://www.gnu.org/licenses/agpl
  3. :alt: License: AGPL-3
  4. =========================
  5. POS Backend Communication
  6. =========================
  7. Communicate with the backend from point of sale.
  8. Common use case:
  9. - a click on a button on the pos opens the backend in a popup to a specific view.
  10. - a click on a button on the backend's view send to pos some interesting data.
  11. Implementations
  12. ---------------
  13. pos_backend_partner: select a pos customer from the backend
  14. Configuration
  15. =============
  16. No configuration is needed.
  17. Developper Guide
  18. ================
  19. The POS communicate with subpages (popups) with window.open and window.postMessage.
  20. Popups are in not-so-old browsers opened in tabs.
  21. When a backend page is open, a class is set on body to hide menus.
  22. Roadmap
  23. =======
  24. - Improve origin verificiation
  25. - Try to use frames instead of popups
  26. - Use notifications for supported browsers
  27. Known limitation
  28. ================
  29. - It doesn't work offline.
  30. Bug Tracker
  31. ===========
  32. Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
  33. In case of trouble, please
  34. check there if your issue has already been reported. If you spotted it first,
  35. help us smash it by providing detailed and welcomed feedback.
  36. Credits
  37. =======
  38. Images
  39. ------
  40. * Odoo Community Association: `Icon <https://odoo-community.org/logo.png>`_.
  41. Contributors
  42. ------------
  43. * Raphaël Reverdy <raphael.reverdy@akretion.com> http://akretion.com
  44. Do not contact contributors directly about support or help with technical issues.
  45. Funders
  46. -------
  47. The development of this module has been financially supported by:
  48. * Akretion
  49. Maintainer
  50. ----------
  51. .. image:: https://odoo-community.org/logo.png
  52. :alt: Odoo Community Association
  53. :target: https://odoo-community.org
  54. This module is maintained by the OCA.
  55. OCA, or the Odoo Community Association, is a nonprofit organization whose
  56. mission is to support the collaborative development of Odoo features and
  57. promote its widespread use.
  58. To contribute to this module, please visit https://odoo-community.org.