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.

79 lines
2.4 KiB

  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # OpenERP, Open Source Management Solution
  5. # This module copyright (C) 2014 Therp BV (<http://therp.nl>).
  6. #
  7. # This program is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU Affero General Public License as
  9. # published by the Free Software Foundation, either version 3 of the
  10. # License, or (at your option) any later version.
  11. #
  12. # This program is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU Affero General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Affero General Public License
  18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. ##############################################################################
  21. {
  22. "name": "Advanced filters",
  23. "version": "1.0",
  24. "author": "Therp BV,Odoo Community Association (OCA)",
  25. "license": "AGPL-3",
  26. "complexity": "normal",
  27. "description": """
  28. Introduction
  29. ------------
  30. This addon allows users to apply set operations on filters: Remove or add
  31. certain ids from/to a selection, but also to remove or add another filter's
  32. outcome from/to a filter. This can be stacked, so the filter domain can be
  33. arbitrarily complicated.
  34. The math is hidden from the user as far as possible, in the hope it's still
  35. user friendly.
  36. Usage
  37. -----
  38. After this addon is installed, every list view shows a new menu 'Advanced
  39. filters'. Here the set operations can be applied as necessary.
  40. Caution
  41. -------
  42. Deinstalling this module will leave you with filters with empty domains. Use
  43. this query before uninstalling to avoid that:
  44. ``alter table ir_filters rename domain_this to domain``
  45. """,
  46. "category": "Tools",
  47. "depends": [
  48. 'base',
  49. 'web',
  50. ],
  51. "data": [
  52. "data/migration.xml",
  53. "wizard/ir_filters_combine_with_existing.xml",
  54. "view/ir_filters.xml",
  55. ],
  56. "js": [
  57. 'static/src/js/web_advanced_filters.js',
  58. ],
  59. "css": [
  60. 'static/src/css/web_advanced_filters.css',
  61. ],
  62. "qweb": [
  63. ],
  64. "test": [
  65. ],
  66. "auto_install": False,
  67. "installable": True,
  68. "application": False,
  69. "external_dependencies": {
  70. 'python': [],
  71. },
  72. }