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.

92 lines
3.0 KiB

9 years ago
  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # OpenERP, Open Source Management Solution
  5. # Copyright (C) 2010-2013 OpenERP s.a. (<http://openerp.com>).
  6. # Copyright (C) 2014 initOS GmbH & Co. KG (<http://www.initos.com>).
  7. # Author Markus Schneider <markus.schneider at initos.com>
  8. #
  9. # This program is free software: you can redistribute it and/or modify
  10. # it under the terms of the GNU Affero General Public License as
  11. # published by the Free Software Foundation, either version 3 of the
  12. # License, or (at your option) any later version.
  13. #
  14. # This program is distributed in the hope that it will be useful,
  15. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. # GNU Affero General Public License for more details.
  18. #
  19. # You should have received a copy of the GNU Affero General Public License
  20. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. #
  22. ##############################################################################
  23. {
  24. "name": "Dashboard Tile",
  25. "summary": "Add Tiles to Dashboard",
  26. "version": "7.0.1.0.1",
  27. "depends": [
  28. 'web',
  29. 'board',
  30. 'mail',
  31. 'web_widget_color',
  32. ],
  33. 'author': "initOS GmbH & Co. KG,GRAP,Odoo Community Association (OCA)",
  34. "category": "",
  35. 'license': 'AGPL-3',
  36. "description": """
  37. Add Tiles to Dashboard
  38. ======================
  39. Features:
  40. ---------
  41. module to give you a dashboard where you can configure tile from any view
  42. and add them as short cut.
  43. * Tile can be:
  44. * displayed only for a user;
  45. * global for all users (In that case, some tiles will be hidden if
  46. the current user doesn't have access to the given model);
  47. * The tile displays items count of a given model restricted to a given domain;
  48. * Optionnaly, the tile can display the result of a function of a field;
  49. * Function is one of sum/avg/min/max/median;
  50. * Field must be integer or float;
  51. Screenshot:
  52. -----------
  53. * Dashboad sample, displaying Sale Orders to invoice:
  54. .. image:: web_dashboard_tile/static/src/img/screenshot_dashboard.png
  55. * Tree view displayed when user click on the tile:
  56. .. image:: web_dashboard_tile/static/src/img/screenshot_action_click.png
  57. Kown issues/limits:
  58. -------------------
  59. * can not edit tile from dashboard (color, sequence, function, ...);
  60. * context are ignored;
  61. * date filter can not be relative;
  62. * combine domain of menue and filter so can not restore origin filter;
  63. possible future improvments:
  64. ----------------------------
  65. * support context_today;
  66. * add icons;
  67. * support client side action (like inbox);
  68. """,
  69. 'data': [
  70. 'view/tile.xml',
  71. 'security/ir.model.access.csv',
  72. 'security/rules.xml',
  73. ],
  74. 'css': [
  75. 'static/src/css/tile.css',
  76. ],
  77. 'demo': [
  78. 'demo/res_groups.yml',
  79. 'demo/tile_tile.yml',
  80. ],
  81. 'js': [
  82. 'static/src/js/custom_js.js',
  83. ],
  84. 'qweb': [
  85. 'static/src/xml/custom_xml.xml',
  86. ],
  87. }