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.

74 lines
2.0 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. Read Only ByPass
  4. ================
  5. This module provides a solution to the problem of the interaction between
  6. 'readonly' attribute and 'on_change' attribute when used together. It allows
  7. saving onchange modifications to readonly fields.
  8. Behavior: add readonly fields changed by `on_change` methods to the values
  9. passed to write or create. If `filter_out_readonly` is in the context and
  10. True then apply native behavior.
  11. Installation
  12. ============
  13. There are no specific installation instructions for this module.
  14. Configuration
  15. =============
  16. There is nothing to configure.
  17. Usage
  18. =====
  19. This module changes the default behaviour of Odoo by propagating
  20. on_change modifications to readonly fields to the backend create and write
  21. methods.
  22. To restore the standard behaviour, set `filter_out_readonly` in the context.
  23. For further information, please visit:
  24. * https://www.odoo.com/forum/help-1
  25. Known issues / Roadmap
  26. ======================
  27. None
  28. Bug Tracker
  29. ===========
  30. Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
  31. In case of trouble, please check there if your issue has already been reported.
  32. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  33. `here <https://github.com/OCA/web/issues/new?body=module:%20web_readonly_bypass%0Aversion:%208.0.1.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  34. Credits
  35. =======
  36. Contributors
  37. ------------
  38. * Jonathan Nemry <jonathan.nemry@acsone.eu>
  39. * Laetitia Gangloff <laetitia.gangloff@acsone.eu>
  40. Maintainer
  41. ----------
  42. .. image:: https://odoo-community.org/logo.png
  43. :alt: Odoo Community Association
  44. :target: https://odoo-community.org
  45. This module is maintained by the OCA.
  46. OCA, or the Odoo Community Association, is a nonprofit organization whose
  47. mission is to support the collaborative development of Odoo features and
  48. promote its widespread use.
  49. To contribute to this module, please visit http://odoo-community.org.