Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 182 |
Technical Name |
web_view_conditionable |
License | LGPL-3 |
Web View Conditionable
Added conditional support for certain component operations:
- Conditional support for create, edit, delete, and duplicate actions in the Form view
- Conditional support for create and delete actions in the One2Many field List view
Table of contents
Usage
Form View:
Odoo by default supports:
<form delete="false" edit="false" create="false">
With this module, you can:
<form create="state!='sent'" edit="state!='sent'" delete="state=='draft'" duplicate="state=='draft'">
It works in any form view.
One2many List View:
Odoo by default supports:
<tree delete="false" create="false">
With this module, you can:
<tree create="state!='sent'" delete="state=='draft'">
It works in any tree view, so you can use it in One2many.
Author
- Jim Lu (jimlu1633@gmail.com) If you have any questions, please contact this email address
Please log in to comment on this module