Skip to main content

Web Timepicker Widget

Project description

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

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.

Table of contents

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 bootstrap datetime-picker plugin options can be specified by an options attribute:

...
<field name="mytimefieldname" widget="timepicker" options="{'datepicker': {'stepping': 15}}"/>
...

See the available options at datetime-picker.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • VividLab

  • Kaushal Prajapati

  • Alexandre Díaz

Contributors

Other credits

  • The module uses the datetime-picker. plugin by Jonathan Peterson. This software is made available under the open source MIT License. Copyright (c) 2015 Jonathan Peterson

  • Odoo Community Association (OCA)

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

This module is part of the OCA/web project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo12_addon_web_widget_timepicker-12.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_web_widget_timepicker-12.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d412efb398d821ec4d2f154dba36c6fbda41f39ae7abeecb4f3aead60f0d672d
MD5 b262752313e19291c4c5e8042d8f17e3
BLAKE2b-256 4e96564e4c5b314c22b30c1b51a81bd960ea650ebc7a03dd5c8bd9352a9664b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page