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.

69 lines
2.0 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License
  3. POS Backend Communication
  4. =========================
  5. Communicate with the backend from point of sale.
  6. Common use case:
  7. - a click on a button on the pos opens the backend in a popup to a specific view.
  8. - a click on a button on the backend's view send to pos some interesting data.
  9. Implementations
  10. ---------------
  11. pos_backend_partner: select a pos customer from the backend
  12. Configuration
  13. =============
  14. No configuration is needed.
  15. Developper Guide
  16. ================
  17. The POS communicate with subpages (popups) with [window.open](https://developer.mozilla.org/docs/Web/API/Window/open) and [window.postMessage](https://developer.mozilla.org/docs/Web/API/Window/postMessage)
  18. Popups are in not-so-old browsers opened in tabs.
  19. When a backend page is open, a class is set on body to hide menus.
  20. Roadmap
  21. =======
  22. - Improve origin verificiation
  23. - Try to use frames instead of popups
  24. - Use notifications for supported browsers
  25. Bug Tracker
  26. ===========
  27. Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
  28. In case of trouble, please check there if your issue has already been reported.
  29. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  30. `here <https://github.com/OCA/pos/issues/new?body=module:%20pos_backend_communication%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  31. Credits
  32. =======
  33. Contributors
  34. ------------
  35. * Raphaël Reverdy <raphael.reverdy@akretion.com>
  36. Maintainer
  37. ----------
  38. .. image:: http://odoo-community.org/logo.png
  39. :alt: Odoo Community Association
  40. :target: http://odoo-community.org
  41. This module is maintained by the OCA.
  42. OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
  43. To contribute to this module, please visit http://odoo-community.org.