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.

48 lines
1.2 KiB

10 years ago
10 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. Credits
  19. =======
  20. Contributors
  21. ------------
  22. * Vincent Vinet <vincent.vinet@savoirfairelinux.com>
  23. Maintainer
  24. ----------
  25. .. image:: http://odoo-community.org/logo.png
  26. :alt: Odoo Community Association
  27. :target: http://odoo-community.org
  28. This module is maintained by the OCA.
  29. 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.
  30. To contribute to this module, please visit http://odoo-community.org.