Web Conditionally Disable Editing
by Camptocamp , Onestein , Avoin.Systems , Odoo Community Association (OCA)
Odoo
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 32 |
Technical Name |
web_edit_button_conditional_disable |
License | AGPL-3 |
Web Edit Button Conditional Disable
This module introduces a mechanism for disabling editing on a form view based on a field on the record.
Usage
This module only implements the form view mechanism for disabling editing, but does not introduce any conditions to any models. Other modules that depend on this one can define a boolean field should_disable_form_edit on any model, which will then used to determine if the form view's edit should be disabled. To have an effect, the field must be present on the form view.
When the field's value is true on the form view, the edit button will be disabled, as well as quick editing.
Credits
This module is based on Odoo Community Association's (OCA's) web_access_rule_buttons -module.
Authors
- Camptocamp (web_access_rule_buttons)
- Onestein (web_access_rule_buttons)
- Avoin.Systems
Contributors
- Guewen Baconnier <guewen.baconnier@camptocamp.com>
- Antonio Esposito <a.esposito@onestein.nl>
- Dhara Solanki <dhara.solanki@initos.com>
- Santeri Valjakka <santeri.valjakka@avoin.systems>
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Will this be available for Odoo 16
Hi.
I've been using this module on my Odoo 15 projects and it is great.
Will this ever be available for Odoo 16?
Best regards