boolean_checkbox
New in Odoo 20, and it exists because the plain boolean widget stopped being predictable: in Odoo 20 it renders as a toggle on small screens and a checkbox on desktop.
September 18, 2026Updated September 18, 20264 min read
| Technical name | boolean_checkbox |
|---|---|
| Field types | boolean |
| Views | form, list |
| Module | web, present in every Odoo 20 database |
| Used in core | 5 uses across Odoo 20 Community and Enterprise views, excluding tests. Does not exist in Odoo 19. |
| Versions | Odoo 20.0 |
| No-code setup | No Studio entry of its own. It inherits the boolean widget's options. |
| Alternatives | boolean, boolean_toggle, boolean_favorite, boolean_icon |
What the boolean_checkbox widget does
What this means for your team
Working examples
The Odoo 20 change that made this widget necessary
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 19.0 | Not available | Does not exist, and is unnecessary: boolean is always a checkbox in Odoo 19. |
| Odoo 20.0 | Verified | Introduced in Odoo 20. Verified against the shipped 20.0 source. |
This widget does not exist before Odoo 20, and it would have had nothing to do there.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| A checkbox turns into a toggle on a tablet | The base boolean widget returns a toggle when the interface reports a small screen. Use widget="boolean_checkbox" to pin the checkbox rendering. |
| The widget does not exist | It is new in Odoo 20. On Odoo 19 the plain boolean widget is already always a checkbox, so nothing is needed. |
| autosave has no effect on any boolean widget | Odoo 20 removed the option from the entire web field library. There is no widget-level replacement. A toggle that must not commit immediately needs a custom widget. |
Boolean_checkbox widget vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
boolean_checkbox | A boolean whose checkbox affordance carries meaning | Pins the checkbox rendering that Odoo 20 otherwise makes conditional on screen size |
| boolean | Most boolean fields | In Odoo 20 it renders a toggle on small screens and a checkbox on desktop |
| boolean_toggle | A field that genuinely is a switch | Always a toggle, and lost its autosave option in Odoo 20 |
| boolean_favorite | A favorite or starred flag | Star rendering rather than a box |
| boolean_icon | A boolean shown as an icon | Icon rather than a control |
Frequently asked questions
Why does my Odoo 20 checkbox look like a toggle on mobile?+
What is the difference between boolean, boolean_checkbox and boolean_toggle in Odoo 20?+
Does boolean_checkbox have options?+
Can I stop a boolean toggle saving immediately in Odoo 20?+
Compliance fields that change shape on a tablet?
Odoo 20 makes the humble checkbox responsive, which is right almost everywhere and wrong on a consent box. We audit the fields where the affordance is part of the record and pin them before an auditor asks.
Talk to an Odoo consultant