OdooWiki OCA HUB

Web Timepicker Widget

web_widget_timepicker folder_open OCA/web open_in_new
Web License: AGPL-3

This module provides a timepicker widget for float fields. It can be used as a replacement for the standard float_time widget in form views.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds a new 'timepicker' widget for float fields in Odoo form views, letting users pick a time (HH:mm) with a clock-style picker instead of typing hours and minutes manually.

This module is a small web add-on that gives Odoo a new field widget called timepicker. It is meant for float fields that store a duration or time in hours, the same kind of field normally shown with the standard float_time widget.

Where it appears: - In form views, a developer can set the widget to timepicker on a float field. - The field then shows a time input with a picker, using the HH:mm format.

What it changes for users: - Instead of typing a number, the user selects or edits a time such as 08:30. - The value is still stored as a float, so existing reports and calculations keep working. - When the user changes the time, the widget signals that the value changed so the form can react normally.

Business rules and automatic behaviour: - The displayed format is fixed to HH:mm. - If the field already has a value, the picker opens on that time; otherwise it opens on the current time. - The value entered is converted to and from the standard float time format used by Odoo.

It does not add menus, database models, reports, emails or scheduled jobs. It only extends the backend web assets and registers one new field widget.

Depends on

web

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 12.0

In the form view declaration, put widget='timepicker' attribute in the field tag:

...
<field name="arch" type="xml">
    <form string="View name">
        ...
        <field name="name"/>
        <field name="mytimefieldname" widget="timepicker"/>
        ...
    </form>
</field>
...

Additional bootstrap datetime-picker plugin options can be specified by an options attribute:

...
<field name="mytimefieldname" widget="timepicker" options="{'datepicker': {'stepping': 15}}"/>
...

See the available options at datetime-picker.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.