This module adds 'boolean_button' widget to 13.0 as it was in 12.0
auto_awesome What this module does
AI-generated from the code · Odoo 13.0Adds a 'boolean_button' widget for form views that displays a boolean field as a clickable status button with a label and hover text, similar to Odoo 12.0.
This module restores the boolean button widget that was available in Odoo 12.0. It is a technical/UI module that provides a new field widget called boolean_button for use in form views.
When a boolean field is displayed with this widget, it appears as a status indicator inside a stat button. The button shows a text label (e.g., 'Active' or 'Inactive') and changes to a hover text (e.g., 'Deactivate' or 'Activate') when the mouse is over it. The colors also change: green for true and red for false, with the hover color inverted.
The widget supports different terminologies that can be set in the field options: 'active', 'archive', 'close', or a custom terminology with specific strings for true/false and hover texts. If no terminology is provided, it defaults to 'On'/'Off' and 'Switch Off'/'Switch On'.
This widget is intended to be used inside a stat button and renders the same in both edit and read-only modes. It does not add any new menus, models, or business rules; it only enhances the user interface for boolean fields in forms. The module depends only on the web module and includes JavaScript files for the widget and its tests.
Depends on
Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/web.
terminal Installation and usage
OCA documentation · Odoo 13.0Usage
Source · Odoo 13.0Go to form and attach widget boolean_button to your boolean field (i.e. in button-box div) with terminology if needed.
<button name="toggle_start" type="object" class="oe_stat_button" icon="fa-archive">
<field name="help_button" widget="boolean_button"
options="{'terminology': {
'string_true': 'ACTIVE',
'hover_true': 'PAUSE',
'string_false': 'HELP',
'hover_false': 'FINISH'
}}"/>
</button>No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.