Skip to main content

Web Timepicker Widget

Project description

.. image::
:alt: License: AGPL-3

Timepicker widget in form views

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.


The widget has the following default timepicker options:

* the possible selection is based on 15 minute interval (step: 15)
* 24 hour mode in H:i format (timeFormat: 'H:i')
* scroll selection starts at current time (scrollDefault: 'now')



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"/>

Additional jquery-timepicker plugin options can be specified by an options attribute::

<field name="mytimefieldname" widget="timepicker" options="{'step': '30', 'disableTextInput': false}"/>

See the available options at `jquery-timepicker <>`_.

.. |picker| image:: ./images/picker.png
.. |formview| image:: ./images/form_view.png

Known issues / Roadmap

* No validation on options.


* The module uses the `jquery-timepicker <>`_ plugin by Jon Thornton. This software is made available under the open source MIT License. © 2014 Jon Thornton and contributors

* Odoo Community Association (OCA)


* Michael Fried <>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
odoo9_addon_web_widget_timepicker- (39.4 kB) Copy SHA256 hash SHA256 Wheel py2

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page