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>