You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. ==============================
  4. Timepicker widget in form view
  5. ==============================
  6. This module defines a timepicker widget, to be used with either char fields
  7. or (function) fields of type character. Use ``widget='timepicker'`` in your form view
  8. definition.
  9. If you use the widget with a character field, the input field has the following default
  10. timepicker options:
  11. * By default direct input is disabled
  12. * By default the possible selection is based on 15 minute interval
  13. * By default 24 hour mode with H:i format
  14. * Scroll selection defaults to current server time
  15. The widget uses the jquery.timepicker plugin by Jon Thornton
  16. Usage
  17. =====
  18. This module defines a new widget type for form views input fileds.
  19. Set the attribute ``widget=timepicker`` in a ``field`` tag in a form view.
  20. ToDo
  21. ====
  22. Make timepicker options available in field defintion as additional attributes / options.
  23. Credits
  24. =======
  25. Jon Thornton (jquery.timepicker plugin)
  26. jquery.timepicker plugin - This software is made available under the open source MIT License. © 2014 Jon Thornton and contributors
  27. Odoo Community Association (OCA)
  28. Contributors
  29. ------------
  30. * Michael Fried