| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Community Apps Dependencies | Show |
| Lines of code | 488 |
| Technical Name |
sc_react_form_widgets |
| License | OPL-1 |
| Website | https://shachain.dev |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Community Apps Dependencies | Show |
| Lines of code | 488 |
| Technical Name |
sc_react_form_widgets |
| License | OPL-1 |
| Website | https://shachain.dev |
10 React Form Field Widgets for Odoo
Drop modern UI widgets — QR code, JSON tree, color picker, range slider, date range and more — into any Odoo form view, and learn how to build your own.
What it does
Form Field Widgets Demo registers React Web Components as Odoo
form field widgets through the bridge's defineAddon
API. It ships 10 ready-to-use widgets and serves as a learning
resource for building your own.
10 ready-to-use widgets
| Widget name | Field type | Purpose |
|---|---|---|
sc_qr_code |
char | URL or text rendered as a live QR code |
sc_json_tree |
json | Editable JSON tree — add, delete, collapse nodes |
sc_color_picker |
char | Color picker with hex format and swatches |
sc_star_rating |
integer | Star rating, 0-5 with half-star support |
sc_slider |
float / integer | Mantine slider with min / max / step |
sc_range_slider |
float / integer | Compound range slider — binds a low + high field pair |
sc_angle_slider |
float / integer | Rotary angle dial |
sc_pin_input |
char | PIN code input — configurable length, optionally masked |
sc_date_range |
date | Compound date range picker — binds a start + end field pair |
sc_timeline |
one2many | Read-only Mantine Timeline from one2many events |
Form Field Widgets Features
Modern inputs bound straight to standard Odoo fields — and a clean API to register widgets of your own.
QR Code, Color & Rating Inputs
Render a QR code from a char field, pick colors with swatches, and capture star ratings — modern inputs bound straight to standard Odoo fields.
JSON Tree Editor
Edit nested JSON visually — add, delete, and collapse nodes — bound to a json field.
Compound Range & Date Widgets
The range slider and date range picker each bind two fields at once — a low/high pair or a start/end pair — with built-in ordering validation.
Angle Dial & PIN Input
A rotary angle dial and a masked PIN code input — specialized widgets for numeric and char fields.
Use in your own models
Drop the widget into any XML form view by name, and register your own
widgets via the defineAddon fieldWidgets API.
Below: the actual form view XML from the demo addon — each widget="..." attribute swaps in a React component.
Built on
Powered by React, Mantine v8, and the odoo-react bridge — running natively on Odoo.
Frequently Asked Questions
Sometimes you need a quick answer to your question. You can get it right away here.
General
widget="..." attribute in the form view —
including fields added by Studio.
defineAddon fieldWidgets
API from the bridge — see the addon's
react/index.ts as a reference.
Setup & Install
addons_path (configured in odoo.conf).
Form Field Widgets Releases
Every update brings new capabilities. Track the latest features and enhancements.
Release 19.0.1.1.0 (May 2026)
- First public version of the Form Field Widgets demo addon.
- Ships 10 ready-to-use React form field widgets: QR code, JSON tree, color picker, star rating, slider, range slider, angle slider, PIN input, date range, and timeline.
- Includes the
defineAddonfieldWidgetsAPI for registering your own React-based form widgets. See the Overview tab for the full widget list.
Modernize your Odoo forms
10 widgets · Studio-compatible · Build your own
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module