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.

76 lines
3.1 KiB

12 years ago
  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Copyright (C) 2012 Agile Business Group sagl (<http://www.agilebg.com>)
  5. # Copyright (C) 2012 Domsense srl (<http://www.domsense.com>)
  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 published
  9. # by the Free Software Foundation, either version 3 of the License, or
  10. # (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 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': "Super Calendar",
  23. 'version': '0.1',
  24. 'category': 'Generic Modules/Others',
  25. 'description': """
  26. This module allows to create configurable calendars.
  27. Through the 'calendar configurator' object, you can specify which models have to be merged in the super calendar. For each model, you have to define the 'description' and 'date_start' fields at least. Then you can define 'duration' and the 'user_id' fields.
  28. The 'super.calendar' object contains the the merged calendars. The 'super.calendar' can be updated by 'ir.cron' or manually.
  29. Configuration
  30. =============
  31. After installing the module you can go to
  32. Super calendar Configuration Configurators
  33. and create a new configurator. For instance, if you want to see meetings and phone calls, you can create the following lines
  34. .. image:: http://planet.domsense.com/wp-content/uploads/2012/04/meetings.png
  35. :width: 400 px
  36. .. image:: http://planet.domsense.com/wp-content/uploads/2012/04/phone_calls.png
  37. :width: 400 px
  38. Then, you can use the Generate Calendar button or wait for the scheduled action (Generate Calendar Records) to be run.
  39. When the calendar is generated, you can visualize it by the super calendar main menu.
  40. Here is a sample monthly calendar:
  41. .. image:: http://planet.domsense.com/wp-content/uploads/2012/04/month_calendar.png
  42. :width: 400 px
  43. And here is the weekly one:
  44. .. image:: http://planet.domsense.com/wp-content/uploads/2012/04/week_calendar.png
  45. :width: 400 px
  46. As you can see, several filters are available. A typical usage consists in filtering by Configurator (if you have several configurators, Scheduled calls and meetings can be one of them) and by your user. Once you filtered, you can save the filter as Advanced filter or even add it to a dashboard.
  47. """,
  48. 'author': 'Agile Business Group',
  49. 'website': 'http://www.agilebg.com',
  50. 'license': 'AGPL-3',
  51. "depends" : ['base'],
  52. "init_xml" : [],
  53. "update_xml" : [
  54. 'super_calendar_view.xml',
  55. 'cron_data.xml',
  56. 'security/ir.model.access.csv',
  57. ],
  58. "demo_xml" : [],
  59. "active": False,
  60. "installable": False
  61. }