diff --git a/web_widget_timepicker/README.rst b/web_widget_timepicker/README.rst index 6116781d..72dcb308 100644 --- a/web_widget_timepicker/README.rst +++ b/web_widget_timepicker/README.rst @@ -1,19 +1,109 @@ -This file is going to be generated by oca-gen-addon-readme. +===================== +Web Timepicker Widget +===================== -Manual changes will be overwritten. +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -Please provide content in the readme directory: +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github + :target: https://github.com/OCA/web/tree/11.0/web_widget_timepicker + :alt: OCA/web +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_widget_timepicker + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/162/11.0 + :alt: Try me on Runbot - DESCRIPTION.rst (required) - INSTALL.rst (optional) - CONFIGURE.rst (optional) - USAGE.rst (optional, highly recommended) - DEVELOP.rst (optional) - ROADMAP.rst (optional) - HISTORY.rst (optional, recommended) - CONTRIBUTORS.rst (optional, highly recommended) - CREDITS.rst (optional) +|badge1| |badge2| |badge3| |badge4| |badge5| -Content of this README will also be drawn from the addon manifest, from keys such as name, authors, maintainers, development_status, and license. +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. -A good, one sentence summary in the manifest is also highly recommended. +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +In the form view declaration, put widget='timepicker' attribute in the field tag:: + + ... + +
+ ... + + + ... + + + ... + +Additional bootstrap datetime-picker plugin options can be specified by an options attribute:: + + ... + + ... + +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 +~~~~~~~~~~~~ + +* Michael Fried +* Kaushal Prajapati +* Alexandre Díaz + +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. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. diff --git a/web_widget_timepicker/static/description/index.html b/web_widget_timepicker/static/description/index.html new file mode 100644 index 00000000..80110188 --- /dev/null +++ b/web_widget_timepicker/static/description/index.html @@ -0,0 +1,456 @@ + + + + + + +Web Timepicker Widget + + + +
+

Web Timepicker Widget

+ + +

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.

+
+
+
+ +