Web Timepicker Widget
Project description
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’)
Usage
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 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.
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 <Michael.Fried@vividlab.de>
Kaushal Prajapati <kbprajapati@live.com>
Maintainer
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for odoo10_addon_web_widget_timepicker-10.0.1.0.0.99.dev2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41dc763818ef1ad44ad8c85a1167d949b9b6381a18898f1a91b8b8861e772ca6 |
|
MD5 | aaffaff972ef36aeb2a2bfe8fdea3cde |
|
BLAKE2b-256 | 490291ab0a86a01361cadcc6e34c113bf97adb3c8862224a9a0a00a1091a960d |