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