[FIX] Hr_Holidays : Refusal of a leave was broken, corrected by changing the datatype...
[odoo/odoo.git] / addons / hr_holidays / __openerp__.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Management Solution
5 #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
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
9 #    published by the Free Software Foundation, either version 3 of the
10 #    License, or (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 Affero 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
23 {
24     "name": "Human Resources: Holidays management",
25     "version": "1.5",
26     "author": "OpenERP SA & Axelor",
27     "category": "Generic Modules/Human Resources",
28     "website": "http://www.openerp.com",
29     "description": """Human Resources: Holidays tracking and workflow
30
31     This module allows you to manage leaves and leaves' requests.
32     Implements a dashboard for human resource management that includes.
33         * My Leaves
34         * My Expenses
35     Note that:
36     - A synchronisation with an internal agenda (use of the CRM module) is possible: in order to automatically create a case when an holiday request is accepted, you have to link the holidays status to a case section. You can set up this info and your colour preferences in
37                 HR / Configuration / Holidays Status
38     - An employee can make an ask for more off-days by making a new Allocation It will increase his total of that leave type available (if the request is accepted).
39     - There are two ways to print the employee's holidays:
40         * The first will allow to choose employees by department and is used by clicking the menu item located in
41                 HR / Holidays Request / Print Summary of Holidays
42         * The second will allow you to choose the holidays report for specific employees. Go on the list
43                 HR / Employees / Employees
44             then select the ones you want to choose, click on the print icon and select the option
45                 'Print Summary of Employee's Holidays'
46     - The wizard allows you to choose if you want to print either the Confirmed & Validated holidays or only the Validated ones. These states must be set up by a user from the group 'HR'. You can define these features in the security tab from the user data in
47                 Administration / Users / Users
48             for example, you maybe will do it for the user 'admin'
49             .
50 """,
51     'author': 'OpenERP SA & Axelor',
52     'website': 'http://www.openerp.com',
53     'depends': ['hr', 'crm', 'process', 'resource'],
54     'init_xml': [],
55     'update_xml': [
56         'security/ir.model.access.csv',
57         'security/ir_rule.xml',
58         'hr_holidays_workflow.xml',
59         'hr_holidays_view.xml',
60         'hr_holidays_data.xml',
61         'hr_holidays_wizard.xml',
62         'hr_holidays_report.xml',
63         'report/hr_holidays_report_view.xml',
64         'report/available_holidays_view.xml',
65         'wizard/hr_holidays_summary_department_view.xml',
66         'wizard/hr_holidays_summary_employees_view.xml',
67         'board_hr_holidays_view.xml',
68         'board_hr_manager_holidays_view.xml',
69         ],
70     'demo_xml': ['hr_holidays_demo.xml',],
71     'test': ['test/test_hr_holiday.yml',
72              'test/hr_holidays_report.yml',
73              ],
74     'installable': True,
75     'active': False,
76     'certificate': '0086579209325',
77 }
78 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: