[MERGE] project: security
[odoo/odoo.git] / addons / project / installer.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Management Solution
5 #    Copyright (C) 2004-2009 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 from osv import fields, osv
23
24 class project_installer(osv.osv_memory):
25     _name = 'project.installer'
26     _inherit = 'res.config.installer'
27
28     _columns = {
29         # Project Management
30         'project_long_term': fields.boolean(
31         'Long Term Planning',
32             help="Enables long-term projects tracking, including "
33                  "multiple-phase projects and resource allocation handling."),
34         'hr_timesheet_sheet': fields.boolean('Timesheets',
35             help="Tracks and helps employees encode and validate timesheets "
36                  "and attendances."),
37         'project_timesheet': fields.boolean('Bill Time on Tasks',
38             help="Helps generate invoices based on time spent on tasks, if activated on the project."),
39         'account_budget': fields.boolean('Budgets',
40             help="Helps accountants manage analytic and crossover budgets."),
41         'project_issue': fields.boolean('Issues Tracker',
42             help="Automatically synchronizes project tasks and crm cases."),
43         # Methodologies
44         'project_scrum': fields.boolean('SCRUM',
45             help="Implements and tracks the concepts and task types defined "
46                  "in the SCRUM methodology."),
47         'project_gtd': fields.boolean('Getting Things Done',
48             help="GTD is a methodology to efficiently organise yourself and your tasks. This module fully integrates GTD principle with OpenERP's project management."),
49     }
50
51     _defaults={
52         'project_issue': True,
53     }
54
55 project_installer()
56
57 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: