.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
: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.
|picker|
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')
|formview|
Usage
=====
In the form view declaration, put widget='timepicker' attribute in the field tag::
...
...
Additional jquery-timepicker plugin options can be specified by an options attribute::
...
...
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.
Credits
=======
* 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)
Contributors
------------
* Michael Fried