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.

78 lines
3.2 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. 'summary': 'This module allows to create configurable calendars.',
  26. 'description': """
  27. This module allows to create configurable calendars.
  28. 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.
  29. The 'super.calendar' object contains the the merged calendars. The 'super.calendar' can be updated by 'ir.cron' or manually.
  30. Configuration
  31. =============
  32. After installing the module you can go to
  33. Super calendar Configuration Configurators
  34. and create a new configurator. For instance, if you want to see meetings and phone calls, you can create the following lines
  35. .. image:: http://planet.domsense.com/wp-content/uploads/2012/04/meetings.png
  36. :width: 400 px
  37. .. image:: http://planet.domsense.com/wp-content/uploads/2012/04/phone_calls.png
  38. :width: 400 px
  39. Then, you can use the Generate Calendar button or wait for the scheduled action (Generate Calendar Records) to be run.
  40. When the calendar is generated, you can visualize it by the super calendar main menu.
  41. Here is a sample monthly calendar:
  42. .. image:: http://planet.domsense.com/wp-content/uploads/2012/04/month_calendar.png
  43. :width: 400 px
  44. And here is the weekly one:
  45. .. image:: http://planet.domsense.com/wp-content/uploads/2012/04/week_calendar.png
  46. :width: 400 px
  47. 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.
  48. """,
  49. 'author': 'Agile Business Group',
  50. 'website': 'http://www.agilebg.com',
  51. 'license': 'AGPL-3',
  52. 'depends' : ['base'],
  53. "data" : [
  54. 'super_calendar_view.xml',
  55. 'cron_data.xml',
  56. 'security/ir.model.access.csv',
  57. ],
  58. 'demo': [],
  59. 'test': [],
  60. 'installable': True,
  61. 'application': True,
  62. 'auto_install': False,
  63. }