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.

58 lines
1.6 KiB

9 years ago
9 years ago
9 years ago
  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  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. The option are passed as-is and are not validated.
  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:%208.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. Maintainer
  30. ----------
  31. .. image:: http://odoo-community.org/logo.png
  32. :alt: Odoo Community Association
  33. :target: http://odoo-community.org
  34. This module is maintained by the OCA.
  35. 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.
  36. To contribute to this module, please visit http://odoo-community.org.