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.

46 lines
1.1 KiB

10 years ago
10 years ago
  1. Datepicker Widget Options
  2. =========================
  3. This module allows passing options to the jquery datepicker for fields that use
  4. the datepicker widget. The option are passed as-is and are not validated.
  5. To see all supported options, see the `API documentation
  6. <http://api.jqueryui.com/datepicker/>`_.
  7. Usage
  8. =====
  9. You must pass all options through the "datepicker" field in the options::
  10. ...
  11. <field name="date" options="{'datepicker':{'yearRange': 'c-100:c+0'}}"/>
  12. ...
  13. Known issues / Roadmap
  14. ======================
  15. * Absolutely no validation on options.
  16. Credits
  17. =======
  18. Contributors
  19. ------------
  20. * Vincent Vinet <vincent.vinet@savoirfairelinux.com>
  21. Maintainer
  22. ----------
  23. .. image:: http://odoo-community.org/logo.png
  24. :alt: Odoo Community Association
  25. :target: http://odoo-community.org
  26. This module is maintained by the OCA.
  27. 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.
  28. To contribute to this module, please visit http://odoo-community.org.