__manifest__.py 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. {
  4. 'name': 'Time Off',
  5. 'version': '1.5',
  6. 'category': 'Human Resources/Time Off',
  7. 'sequence': 85,
  8. 'summary': 'Allocate PTOs and follow leaves requests',
  9. 'website': 'https://www.odoo.com/app/time-off',
  10. 'description': """
  11. Manage time off requests and allocations
  12. =====================================
  13. This application controls the time off schedule of your company. It allows employees to request time off. Then, managers can review requests for time off and approve or reject them. This way you can control the overall time off planning for the company or department.
  14. You can configure several kinds of time off (sickness, paid days, ...) and allocate time off to an employee or department quickly using time off allocation. An employee can also make a request for more days off by making a new time off allocation. It will increase the total of available days for that time off type (if the request is accepted).
  15. You can keep track of time off in different ways by following reports:
  16. * Time Off Summary
  17. * Time Off by Department
  18. * Time Off Analysis
  19. A synchronization with an internal agenda (Meetings of the CRM module) is also possible in order to automatically create a meeting when a time off request is accepted by setting up a type of meeting in time off Type.
  20. """,
  21. 'depends': ['hr', 'calendar', 'resource'],
  22. 'data': [
  23. 'data/report_paperformat.xml',
  24. 'data/mail_activity_type_data.xml',
  25. 'data/mail_message_subtype_data.xml',
  26. 'data/hr_holidays_data.xml',
  27. 'data/ir_cron_data.xml',
  28. 'security/hr_holidays_security.xml',
  29. 'security/ir.model.access.csv',
  30. 'views/resource_views.xml',
  31. 'views/hr_leave_views.xml',
  32. 'views/hr_leave_type_views.xml',
  33. 'views/hr_leave_allocation_views.xml',
  34. 'views/hr_leave_accrual_views.xml',
  35. 'views/hr_leave_stress_day_views.xml',
  36. 'views/mail_activity_views.xml',
  37. 'wizard/hr_holidays_cancel_leave_views.xml',
  38. 'wizard/hr_holidays_summary_employees_views.xml',
  39. 'wizard/hr_departure_wizard_views.xml',
  40. 'report/hr_holidays_templates.xml',
  41. 'report/hr_holidays_reports.xml',
  42. 'report/hr_leave_reports.xml',
  43. 'report/hr_leave_report_calendar.xml',
  44. 'report/hr_leave_employee_type_report.xml',
  45. 'views/hr_views.xml',
  46. 'views/hr_holidays_views.xml',
  47. ],
  48. 'demo': [
  49. 'data/hr_holidays_demo.xml',
  50. ],
  51. 'installable': True,
  52. 'application': True,
  53. 'assets': {
  54. 'mail.assets_messaging': [
  55. 'hr_holidays/static/src/models/*.js',
  56. ],
  57. 'mail.assets_discuss_public': [
  58. 'hr_holidays/static/src/components/*/*',
  59. ],
  60. 'web.assets_backend': [
  61. 'hr_holidays/static/src/views/**/*.js',
  62. 'hr_holidays/static/src/views/**/*.scss',
  63. 'hr_holidays/static/src/views/**/*.xml',
  64. 'hr_holidays/static/src/components/*/*.scss',
  65. 'hr_holidays/static/src/components/*/*.xml',
  66. 'hr_holidays/static/src/dashboard/**/*.js',
  67. 'hr_holidays/static/src/dashboard/**/*.scss',
  68. 'hr_holidays/static/src/dashboard/**/*.xml',
  69. 'hr_holidays/static/src/leave_stats/**/*.js',
  70. 'hr_holidays/static/src/leave_stats/**/*.xml',
  71. 'hr_holidays/static/src/scss/*.scss',
  72. 'hr_holidays/static/src/tours/*.js',
  73. 'hr_holidays/static/src/radio_image_field/*.js',
  74. 'hr_holidays/static/src/radio_image_field/*.xml',
  75. # Don't include dark mode files in light mode
  76. ('remove', 'hr_holidays/static/src/views/**/*.dark.scss'),
  77. ('remove', 'hr_holidays/static/src/dashboard/**/*.dark.scss'),
  78. ],
  79. "web.dark_mode_assets_backend": [
  80. 'hr_holidays/static/src/views/**/*.dark.scss',
  81. 'hr_holidays/static/src/dashboard/**/*.dark.scss',
  82. ],
  83. 'web.tests_assets': [
  84. 'hr_holidays/static/tests/helpers/**/*',
  85. ],
  86. 'web.qunit_suite_tests': [
  87. 'hr_holidays/static/tests/qunit_suite_tests/**/*.js',
  88. ],
  89. 'web.assets_tests': [
  90. '/hr_holidays/static/tests/tours/**/**.js'
  91. ],
  92. },
  93. 'license': 'LGPL-3',
  94. }