Toggle navigation

Web Timepicker Widget

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

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 to smash 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.