Read Only ByPass
Read Only ByPass
This module provides a solution to the problem of the interaction between 'readonly' attribute and 'on_change' attribute when used together. It allows saving onchange modifications to readonly fields.
Behavior: add readonly fields changed by on_change methods to the values passed to write or create. If filter_out_readonly is in the context and True then apply native behavior.
Installation
There are no specific installation instructions for this module.
Configuration
There is nothing to configure.
Usage
This module changes the default behaviour of Odoo by propagating on_change modifications to readonly fields to the backend create and write methods.
To restore the standard behaviour, set filter_out_readonly in the context.
For further information, please visit:
Known issues / Roadmap
None
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.
Credits
Contributors
- Jonathan Nemry <jonathan.nemry@acsone.eu>
- Laetitia Gangloff <laetitia.gangloff@acsone.eu>
- Pierre Verkest <pverkest@anybox.fr>
Maintainer
This module is maintained by the OCA.
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.
To contribute to this module, please visit http://odoo-community.org.
Once the user has seen at least one product this snippet will be visible.