field_float_scannable
A float field that reacts to a barcode scan by firing a synthetic input event on itself. It is four lines long, and Odoo 20 removes it.
September 18, 2026Updated September 18, 20263 min read
| Technical name | field_float_scannable |
|---|---|
| Field types | float |
| Views | form, list |
| Module | barcodes, installed with Inventory and similar apps |
| Used in core | 0 uses in Odoo 19 Community or Enterprise. Removed entirely in Odoo 20. |
| Versions | Odoo 19.0 |
| No-code setup | No. There is no Studio entry for this widget. |
| Alternatives | float, barcode_handler, many2one_barcode |
What the field_float_scannable widget does
What this means for your team
Working examples
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 19.0 | Verified | Verified against the shipped 19.0 source. Inherits float's options. |
| Odoo 20.0 | Not available | Removed alongside barcode_handler. No replacement widget. |
Present in Odoo 19, absent in Odoo 20.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| A scanned quantity does not register on Odoo 19 | The plain float widget is in use rather than this one, so no synthetic input event fires. Set widget="field_float_scannable" on the quantity field. |
| A missing-widget warning in the console after upgrading to Odoo 20 | The registration no longer exists. Remove the widget attribute and rework the scan flow against the Odoo 20 barcode service. |
| Float options appear to work here but not on a similar custom widget | This descriptor spreads floatField; a widget that only extends the component inherits no options. Spread the parent descriptor when writing your own. |
Field_float_scannable widget vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
field_float_scannable | A quantity field that must react to scans, on Odoo 19 | Fires a synthetic input event on scan, and does not exist in Odoo 20 |
| float | An ordinary typed quantity | No scan reactivity |
| barcode_handler | Catching a scan into a hidden field | Invisible, and also removed in Odoo 20 |
| many2one_barcode | Selecting a record by scanning | Still present in Odoo 20 |
Frequently asked questions
Does field_float_scannable work in Odoo 20?+
What does field_float_scannable actually do?+
Does it support the normal float options?+
Warehouse screens that have to keep up with a scanner?
Scanner behavior is the part of an Odoo warehouse build that only shows problems under real throughput. We build and test picking and receiving screens against actual hardware, and we scope what Odoo 20 changes before you commit to it.
Talk to an Odoo consultant