[MERGE] branch merged with lp:~openerp-dev/openobject-addons/trunk-dev-addons3
[odoo/odoo.git] / addons / knowledge / 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 from osv import fields, osv
22
23 class knowledge_installer(osv.osv_memory):
24     _name = 'knowledge.installer'
25     _inherit = 'res.config.installer'
26
27     _columns = {
28         # Knowledge Management
29         'document_ftp':fields.boolean('Shared Repositories (FTP)',
30             help="Provides an FTP access to your OpenERP's "
31                 "Document Management System. It lets you access attachments "
32                 "and virtual documents through a standard FTP client."),
33         'document_webdav':fields.boolean('Shared Repositories (WebDAV)',
34             help="Provides a WebDAV access to your OpenERP's Document "
35                  "Management System. Lets you access attachments and "
36                  "virtual documents through your standard file browser."),
37         'wiki':fields.boolean('Collaborative Content (Wiki)',
38             help="Lets you create wiki pages and page groups in order "
39                  "to keep track of business knowledge and share it with "
40                  "and  between your employees."),
41         # Content templates
42         'wiki_faq':fields.boolean('Internal FAQ',
43             help="Creates a skeleton internal FAQ pre-filled with "
44                  "documentation about OpenERP's Document Management "
45                  "System."),
46         'wiki_quality_manual':fields.boolean('Quality Manual',
47             help="Creates an example skeleton for a standard quality manual."),
48         }
49     _defaults = {
50         'document_ftp':True,
51         }
52
53 knowledge_installer()