Skip to Content
Field Time Picker
field_timepicker

Field Time Picker

A time picker widget for Char fields using a third-party time picker library.

  • Odoo 17
  • Tools & Administration
  • 17.0.1.0.0
1

Overview

Typing a time as free text leads to inconsistent formats. This module registers a timepicker field widget that shows a clock-style picker. It is a web asset module that plugs into any form view through the widget attribute. The benefit is faster, cleaner time entry on Char fields.

2

Usage steps

  1. 1

    Register the widget

    After installation the widget is added to the fields registry under the name timepicker. It is an OWL component with its own template. No menu is added.

    • Registry: fields
    • Widget name: timepicker
  2. 2

    Apply it to a Char field

    A developer sets widget="timepicker" on a Char field in a view. The widget works only with Char fields. On another field type a warning explains the limitation.

    • Char fields only
    • Warning on wrong type
  3. 3

    Pick a time

    The user clicks the field and a time picker popup appears. Hours and minutes are chosen with arrows. The selection is written back as text.

    • Popup clock
    • Value stored as text
  4. 4

    Save the record

    The time string is saved with the record like any Char value. Reports and search treat it as normal text. Formats stay consistent across users.

    • Standard Char storage
    • Consistent format
4

Roles

Benefiting roles
Role
Odoo developers
All users entering times
5

Dependencies

Back to version applications

Want to know more or try this app? Contact us

We can arrange a demo or a trial and answer your questions about Field Time Picker.

Contact us