This release is a pre-release and may not be stable for production use.
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.
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 <Michael.Fried@vividlab.de>
Metadata
Release files for odoo9-addon-web-widget-timepicker 9.0.1.0.0.99.dev5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo9_addon_web_widget_timepicker-9.0.1.0.0.99.dev5-py2-none-any.whl | Python 2 | none | any | Details for odoo9_addon_web_widget_timepicker-9.0.1.0.0.99.dev5-py2-none-any.whl |
Release files / odoo9_addon_web_widget_timepicker-9.0.1.0.0.99.dev5-py2-none-any.whl
| Download URL | odoo9_addon_web_widget_timepicker-9.0.1.0.0.99.dev5-py2-none-any.whl |
|---|---|
| Size | 37.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
c7244c4705784aad1b484cbc7b98bd7768461fde1a55eea64671f0521860fede
|
|
BLAKE2b-256 checksum How to use checksums |
bd9554e4a246c03591f8bfc92e9495ca0099dc2d9618098add0616e5b9f528a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
|
Security for odoo9-addon-web-widget-timepicker 9.0.1.0.0.99.dev5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.