boolean_phone
New in Odoo 19, boolean_phone is the smallest kind of widget: a boolean that renders a phone icon when true and nothing at all when false, built to show which livechat agents are currently in a call.
August 25, 2026Updated August 25, 20265 min read
| Technical name | boolean_phone |
|---|---|
| Field types | boolean |
| Views | list, kanban |
| Module | im_livechat, installed with Website Live Chat |
| Used in core | 2 occurrences in the im_livechat module, on the channel form's agents list and kanban |
| Versions | Odoo 20.0, Odoo 19.0 |
| No-code setup | No. Module helper widget; Studio does not list it. |
| Alternatives | boolean, boolean_toggle, boolean_icon |
What the In-call indicator does
What this means for your team
Working examples
A three-line template done properly
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. JavaScript identical on the development branch; only the icon markup changes. See below. |
| Odoo 19.0 | Verified | Verified against the shipped source. First release with the widget. |
| Odoo 18.0 | Not available | Widget does not exist. |
| Odoo 17.0 | Not available | Widget does not exist. |
| Odoo 16.0 | Not available | Widget does not exist. |
Upgrade note. New in 19.0 alongside livechat's call features; there is nothing to migrate from earlier versions. Forks of the pattern on 18 and below just subclass that version's boolean widget the same way.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| Nothing renders in the column | The value is false, and the widget renders nothing by design in that state. No fix needed; the icon appears when the flag turns true. |
| Users cannot toggle the value | The template contains no input; the widget is display-only everywhere. Use the standard boolean or boolean_toggle widget if editing is required. |
| Missing widget warning in the console | The widget ships with im_livechat, which is not installed. Install Live Chat or register your own copy of the component. |
| Icon shows for agents who left the call | livechat_is_in_call is computed server-side; the card may be stale. Refresh the view; the widget renders whatever the record holds. |
| CSS targeting fa-phone stops working after upgrading past 19 | The development branch replaces FontAwesome classes with the oi icon set. Target the widget's element or the new data-icon attribute instead. |
In-call indicator vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
boolean_phone | Presence-style flags where only the true state matters | Icon when true, empty when false, never editable |
| boolean | Ordinary editable flags | Checkbox in both states, editable in edit mode |
| boolean_toggle | Flags flipped often from lists | Switch control that saves the record immediately |
boolean_icon | Icon-style booleans with configurable glyphs | Takes an icon option instead of hardcoding the phone |
Frequently asked questions
What is the boolean_phone widget in Odoo?+
Can users toggle a boolean_phone field?+
Does boolean_phone accept any options?+
Can I use boolean_phone on my own boolean field?+
Why show nothing instead of an unchecked box when false?+
Is boolean_phone available in Odoo 18 or earlier?+
Does Odoo 20 change boolean_phone?+
Operations screens that show state at a glance
Presence flags, call indicators, and live queues are small widgets doing real workflow work. We build custom Odoo status widgets and supervisor dashboards, from Discuss integrations to full wallboards, on Odoo 16 through 19.
Book a free consultation