diff options
| author | Nisha patel <nit@odoo.com> | 2020-02-28 12:22:20 +0000 |
|---|---|---|
| committer | Barad Mahendra <mba@openerp.com> | 2020-03-02 06:26:02 +0000 |
| commit | 159699b09c17ba4a56cc634e6ca2585f8a030384 (patch) | |
| tree | efc4cffeedca5ff1a699e4e85b1897b5ba0d3353 /addons/utm/views/utm_views.xml | |
| parent | 8a6e6484ba8f6aea6ef6fd212b089276ef35884e (diff) | |
[IMP] various: set boolean_toggle on 'active' fields in form view
Currently, to activate/deactivate records with the 'active' checkbox
user has to switch to edit mode of the form.
So the purpose of the task is to allow the user to activate/deactivate
records from the readonly mode of the form view.
In this commit, we set widget='boolean_toggle' on the 'active' field in form
view.
closes odoo/odoo#46567
Taskid: 2206794
Related: https://github.com/odoo/enterprise/pull/8918
Related: odoo/enterprise#8918
Closes: #46567
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/utm/views/utm_views.xml')
| -rw-r--r-- | addons/utm/views/utm_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/utm/views/utm_views.xml b/addons/utm/views/utm_views.xml index 86901507eb6..edf2273d8a1 100644 --- a/addons/utm/views/utm_views.xml +++ b/addons/utm/views/utm_views.xml @@ -49,7 +49,7 @@ <sheet> <group> <field name="name"/> - <field name="active"/> + <field name="active" widget="boolean_toggle"/> </group> </sheet> </form> |
