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.

77 lines
3.1 KiB

  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. # All Rights Reserved
  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 published
  10. # by the Free Software Foundation, either version 3 of the License, or
  11. # (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 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': "Super Calendar",
  24. 'version': '0.1',
  25. 'category': 'Generic Modules/Others',
  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 & Domsense',
  50. 'website': 'http://www.agilebg.com',
  51. 'license': 'AGPL-3',
  52. "depends" : ['base'],
  53. "init_xml" : [],
  54. "update_xml" : [
  55. 'super_calendar_view.xml',
  56. 'cron_data.xml',
  57. 'security/ir.model.access.csv',
  58. ],
  59. "demo_xml" : [],
  60. "active": False,
  61. "installable": True
  62. }