open_decimal_precision_button
A field that is not really a field: a button in a warning panel that throws away your unsaved currency change and sends you to the setting you actually wanted.
August 27, 2026Updated August 27, 20265 min read
| Technical name | open_decimal_precision_button |
|---|---|
| Field types | any |
| Views | form |
| Module | account, present wherever Invoicing or Accounting is installed |
| Used in core | 1 occurrence, the rounding warning on the currency form in account |
| Versions | Odoo 20.0, Odoo 19.0 |
| No-code setup | No. It is a bespoke button tied to one settings action |
| Alternatives | documentation_link, upgrade_boolean, boolean |
What the decimal precision button does
What this means for your team
Working examples
Not a field, and deliberately not a view button
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. Byte-identical to Odoo 19 on the development branch. |
| Odoo 19.0 | Verified | First version. Verified against the shipped source. |
| Odoo 18.0 | Not available | Widget does not exist, and neither does the warning panel. |
| Odoo 17.0 | Not available | Widget does not exist. |
| Odoo 16.0 | Not available | Widget does not exist. |
Upgrade note. The widget is new in Odoo 19, along with the warning panel it sits in. Databases upgraded from Odoo 18 gain both with the standard accounting views, and there is nothing to migrate.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| My currency change was lost | Intended. The button discards the record before opening the settings action. Make the rounding change first and save it, if that is genuinely what you wanted. |
| The button never appears | The surrounding panel is hidden because the warning flag on the record is false. The panel shows when a rounding change is in progress; check the field's invisible expression in an inherited view. |
| Nothing happens on click | The user lacks access to the decimal precision settings action. Grant the required administration rights, or reach the setting from the technical settings menu. |
| I want it to open a different screen | The action identifier is hardcoded with no option. Write your own copy of the widget with a different action. |
| It saves instead of discarding | The field was replaced with a view button in a customization, and view buttons save first. Restore the field widget; the discard behavior is the reason it is a field rather than a button. |
Decimal precision button vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
open_decimal_precision_button | A warning panel that has to send the user elsewhere without saving | A field widget that renders only a button, and discards the record before navigating |
| documentation_link | Pointing at documentation from a form | Opens a link and never touches the record |
| upgrade_boolean | Enterprise upsell prompts on a setting | Intercepts a toggle rather than offering navigation |
| boolean | The underlying flag, shown as a checkbox | Renders the value the field actually holds |
Frequently asked questions
What does open_decimal_precision_button do?+
Why does it discard my changes?+
Why is it a field widget rather than a button?+
Can I point it at a different action?+
Which versions have it?+
One setting away from a database-wide rounding problem
Decimal precision, currency rounding and the reports that depend on both are easy to change and hard to undo once data exists. We review those settings before they cause a restatement, as part of Odoo Accounting work on 16 through 19.
Book a free consultation