| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 216 |
| Technical Name |
web_suite_timepicker |
| License | LGPL-3 |
Timepicker Widget for Float
This addon adds a new widget timepicker for float fields, powered by the Suite GPL timepicker
library. It lets users pick hours and minutes with a modern popup while keeping Odoo's float_time storage.
Features
- 12h or 24h modes with optional controls row (Save/Close).
- Keeps compatibility with existing float time values and formatting.
- Dropdown toggle button beside the input, auto-closes when you click away.
- Assets bundled locally (suite.min.js / suite.min.css).
Usage
<field name="my_time_float" widget="timepicker"
options="{'time_format': 24, 'controls': True}"/>
Set time_format to 12 for AM/PM display. The controls option toggles
the Suite footer controls; with controls enabled, value is applied on Save.
Please log in to comment on this module