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.

63 lines
1.8 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
  2. :alt: License: AGPL-3
  3. Datepicker Widget Options
  4. =========================
  5. This module allows passing options to the jquery datepicker for fields that use
  6. the datepicker widget. Options are passed as they are, without any validation.
  7. To see all supported options, see the `API documentation
  8. <http://api.jqueryui.com/datepicker/>`_.
  9. Usage
  10. =====
  11. You must pass all options through the "datepicker" field in the options::
  12. ...
  13. <field name="date" options="{'datepicker': {'yearRange': 'c-100:c+0'}}"/>
  14. ...
  15. Known issues / Roadmap
  16. ======================
  17. * Absolutely no validation on options.
  18. Bug Tracker
  19. ===========
  20. Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
  21. In case of trouble, please check there if your issue has already been reported.
  22. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  23. `here <https://github.com/OCA/web/issues/new?body=module:%20web_widget_datepicker_options%0Aversion:%2011.0.1.0.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  24. Credits
  25. =======
  26. Contributors
  27. ------------
  28. * Vincent Vinet <vincent.vinet@savoirfairelinux.com>
  29. * Yanina Aular <yanina.aular@vauxoo.com>
  30. * Luis González <lgonzalez@vauxoo.com>
  31. Do not contact contributors directly about support or help with technical issues.
  32. Maintainer
  33. ----------
  34. .. image:: https://odoo-community.org/logo.png
  35. :alt: Odoo Community Association
  36. :target: https://odoo-community.org
  37. This module is maintained by the OCA.
  38. OCA, or the Odoo Community Association, is a nonprofit organization whose
  39. mission is to support the collaborative development of Odoo features and
  40. promote its widespread use.
  41. To contribute to this module, please visit https://odoo-community.org.