upgrade_boolean
The settings checkboxes that open an upgrade popup on Community are one widget: upgrade_boolean. On Enterprise it is an ordinary checkbox; on Community it can never stay checked.
| Technical name | upgrade_boolean |
|---|---|
| Field types | boolean |
| Views | settings form (res.config.settings) |
| Module | web (settings form view), present in every Odoo database |
| Used in core | 45 occurrences across settings views, each marking an Enterprise feature block |
| Versions | Odoo 20.0, Odoo 19.0, Odoo 18.0, Odoo 17.0, Odoo 16.0 |
| No-code setup | Not applicable: it belongs to settings views, not user documents |
| Alternatives | boolean, boolean_toggle |
What the upgrade_boolean widget does
What this means for your team
Supported options in Odoo 19
| Option | Type | What it does |
|---|---|---|
(none) | n/a | No supportedOptions declared; the descriptor spreads the plain boolean field. Behavior is fixed: normal boolean on Enterprise, dialog plus revert on Community. |
The edition check is client-side and cosmetic-proof. Enterprise features are absent from Community code, so the dialog is honest UX, not the enforcement. Patching the widget to skip the popup enables nothing; the modules behind the setting are simply not there.
Working examples
The revert-on-close trick
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. The development branch shows no behavior changes; see below. |
| Odoo 19.0 | Verified | Verified against the shipped source and tested on a clean Community database. |
| Odoo 18.0 | Verified | Same behavior. No XML changes needed. |
| Odoo 17.0 | Verified | Same behavior. No XML changes needed. |
| Odoo 16.0 | Verified | Same behavior. No XML changes needed. |
Upgrade note. Stable across Odoo 16 to 19. Moving a database from Community to Enterprise flips isEnterprise, and every one of these checkboxes silently becomes a working boolean, no view changes needed, which is exactly the intended migration story.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| Setting will not stay enabled on Community | Designed behavior: the dialog's close handler reverts the value to false. The feature requires Enterprise; plan the edition upgrade if you need it. |
| Checkbox flickers on then off | The tick shows while the dialog is open, then the revert runs. Expected; nothing to fix. |
| Upgrade dialog appears on an Enterprise database | The web assets still identify as Community: enterprise code not installed or assets stale. Verify the enterprise addons path and regenerate assets; check odoo.info.isEnterprise in the browser console. |
| Patched the widget but the feature still does not work | The dialog is UX; the Enterprise modules are genuinely absent on Community. Only an edition upgrade provides the feature. |
Upgrade_boolean widget vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
upgrade_boolean | Settings checkboxes gating Enterprise features | Community: upgrade dialog + automatic revert; Enterprise: plain boolean |
boolean | Ordinary settings and document yes/no fields | No edition logic; just stores the value |
| boolean_toggle | Flags that should apply instantly | Switch styling with autosave, unrelated to editions |
Frequently asked questions
Why does checking some Odoo settings open an upgrade popup?+
Why does the checkbox untick itself after I close the dialog?+
Can I bypass the upgrade dialog on Community?+
What happens to these checkboxes after moving to Enterprise?+
Can my own module use upgrade_boolean?+
Weighing Community against Enterprise?
The upgrade checkboxes show what is gated; the real question is which of those features your processes actually need, and whether the move pays back. We run that assessment and the Community-to-Enterprise migration itself, on Odoo 16 through 19.
Book a free consultation