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.

67 lines
2.5 KiB

  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Web - Custom Search Quantity module for Odoo
  5. # Copyright (C) 2015-Today Akretion (http://www.akretion.com)
  6. # @author Sylvain LE GAL (https://twitter.com/legalsylvain)
  7. #
  8. # This program is free software: you can redistribute it and/or modify
  9. # it under the terms of the GNU Affero General Public License as
  10. # published by the Free Software Foundation, either version 3 of the
  11. # License, or (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU Affero General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Affero General Public License
  19. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. #
  21. ##############################################################################
  22. {
  23. 'name': 'Web - Custom Search Quantity',
  24. 'version': '1.0',
  25. 'category': 'web',
  26. 'description': """
  27. Allow users to set manually a quantity of items to display in a tree view
  28. =========================================================================
  29. Functionality:
  30. --------------
  31. * By default, in Odoo, user can display 80 / 200 / 500 / 2000 elements in
  32. a tree view;
  33. With that module, user can select a custom number of items to display;
  34. Technical information:
  35. ----------------------
  36. * replace a select element by an input with datalist option. That allows
  37. to set a custom value, or to select an option. (same options as before:
  38. 80 / 200 / 500 / 2000 / unlimited);
  39. * WARNING: 'Datalist' is a HTML5 tag; If your browser is not HTML5
  40. compliant, the options will not be displayed (but it is possible for
  41. user to select manually a value);
  42. See browser Support: http://www.w3schools.com/tags/tag_datalist.asp
  43. Copyright, Author and Licence:
  44. ------------------------------
  45. * Copyright:
  46. * 2015-Today, Akretion;
  47. * Author:
  48. * Sylvain LE GAL (https://twitter.com/legalsylvain);
  49. * Licence: AGPL-3 (http://www.gnu.org/licenses/)""",
  50. 'author': "Akretion,Odoo Community Association (OCA)",
  51. 'website': 'http://www.grap.coop',
  52. 'license': 'AGPL-3',
  53. 'depends': [
  54. 'web',
  55. ],
  56. 'js': [
  57. 'static/src/js/web_custom_search_quantity.js',
  58. ],
  59. 'css': [
  60. "static/src/css/web_custom_search_quantity.css",
  61. ],
  62. }