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.

45 lines
1.1 KiB

11 years ago
11 years ago
11 years ago
  1. # -*- coding: utf-8 -*-
  2. {
  3. "name": 'web_m2x_options',
  4. "version": "0.1",
  5. "description": """
  6. =====================================================
  7. Add new options for many2one and many2manytags field:
  8. =====================================================
  9. - create: true/false -> disable "create" entry in dropdown panel
  10. - create_edit: true/false -> disable "create and edit" entry in dropdown panel
  11. - limit: 10 (int) -> change number of selected record return in dropdown panel
  12. - m2o_dialog: true/false -> disable quick create M20Dialog triggered on error.
  13. Example:
  14. --------
  15. ``<field name="partner_id" options="{'limit': 10, 'create': false,
  16. 'create_edit': false}"/>``
  17. Note:
  18. -----
  19. If one of those options are not set, many2one field uses default many2one
  20. field options.
  21. Thanks to:
  22. ----------
  23. - Nicolas JEUDY <njeudy@tuxservices.com>
  24. - Valentin LAB <valentin.lab@kalysto.org>
  25. """,
  26. "depends": [
  27. 'base',
  28. 'web',
  29. ],
  30. "js": [
  31. 'static/src/js/form.js',
  32. ],
  33. "author": "Tuxservices",
  34. "installable": True,
  35. "active": False,
  36. }