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.

60 lines
1.8 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. Check for unsaved data when closing browser window
  6. ==================================================
  7. This module will show a confirmation dialog when the user closes
  8. a window with an Odoo form containing unsaved data.
  9. Usage
  10. =====
  11. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  12. :alt: Try me on Runbot
  13. :target: https://runbot.odoo-community.org/runbot/162/10.0
  14. Known issues
  15. ============
  16. This module depends on the 'dirty' flag that Odoo sets on modified forms. Odoo
  17. only sets this flag when the focus is changed, so if you modified only one
  18. field and the focus is still on that field, you won't be prevented from closing
  19. the browser window.
  20. Bug Tracker
  21. ===========
  22. Bugs are tracked on `GitHub Issues
  23. <https://github.com/OCA/web/issues>`_. In case of trouble, please
  24. check there if your issue has already been reported. If you spotted it first,
  25. help us smash it by providing detailed and welcomed feedback.
  26. Credits
  27. =======
  28. Images
  29. ------
  30. * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
  31. Contributors
  32. ------------
  33. * Stefan Rijnhart <stefan@opener.amsterdam>
  34. Maintainer
  35. ----------
  36. .. image:: https://odoo-community.org/logo.png
  37. :alt: Odoo Community Association
  38. :target: https://odoo-community.org
  39. This module is maintained by the OCA.
  40. OCA, or the Odoo Community Association, is a nonprofit organization whose
  41. mission is to support the collaborative development of Odoo features and
  42. promote its widespread use.
  43. To contribute to this module, please visit https://odoo-community.org.