summaryrefslogtreecommitdiff
path: root/addons/base_setup
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2012-04-27 11:18:52 +0200
committerRaphael Collet <rco@openerp.com>2012-04-27 11:18:52 +0200
commit5158efbf0ce12de6463e3012a84904fffa4d31a7 (patch)
tree3a3e863e32a3bf08396935472eb432906d75ba51 /addons/base_setup
parent1b7eedc1d5816e8df5b85945599e0fb8293cdec2 (diff)
[IMP] move config wizard 'Knowledge' into module knowledge
bzr revid: rco@openerp.com-20120427091852-fv3c6aomkobdlrxh
Diffstat (limited to 'addons/base_setup')
-rw-r--r--addons/base_setup/res_config.py22
-rw-r--r--addons/base_setup/res_config_view.xml36
2 files changed, 0 insertions, 58 deletions
diff --git a/addons/base_setup/res_config.py b/addons/base_setup/res_config.py
index a046cc01c44..92914f8f7a3 100644
--- a/addons/base_setup/res_config.py
+++ b/addons/base_setup/res_config.py
@@ -37,26 +37,4 @@ class base_config_settings(osv.osv_memory):
This installs the module share."""),
}
-
-
-class knowledge_config_settings(osv.osv_memory):
- _name = 'knowledge.config.settings'
- _inherit = 'res.config.settings'
- _columns = {
- 'module_wiki_faq': fields.boolean('Use a Wiki for Frequently Asked Questions',
- help="""This installs the module wiki_faq."""),
- 'module_wiki_quality_manual': fields.boolean('Track Quality with a Wiki',
- help="""This installs the module wiki_quality_manual."""),
- 'module_document': fields.boolean('Document Management',
- help="""This is a complete document management system, with: user authentication,
- full document search (but pptx and docx are not supported), and a document dashboard.
- This installs the module document."""),
- 'module_document_ftp': fields.boolean('Share repositories (FTP)',
- help="""Access your documents in OpenERP through an FTP interface.
- This installs the module document_ftp."""),
- 'module_document_webdav': fields.boolean('Share Repositories (WebDAV)',
- help="""Access your documents in OpenERP through WebDAV.
- This installs the module document_webdav."""),
- }
-
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/base_setup/res_config_view.xml b/addons/base_setup/res_config_view.xml
index 4c35930f81b..f9c851a3002 100644
--- a/addons/base_setup/res_config_view.xml
+++ b/addons/base_setup/res_config_view.xml
@@ -37,41 +37,5 @@
<menuitem id="menu_general_configuration" name="Settings" parent="base.menu_config"
sequence="100" action="action_general_configuration"/>
- <record id="view_knowledge_configuration" model="ir.ui.view">
- <field name="name">Configure Knowledge</field>
- <field name="model">knowledge.config.settings</field>
- <field name="type">form</field>
- <field name="arch" type="xml">
- <form string="Configure Knowledge" layout="manual">
- <div class="oe_form_topbar">
- <button string="Apply" type="object" name="execute"/>
- <button string="Cancel" special="cancel"/>
- </div>
- <sheet layout="auto">
- <separator string="Wiki" colspan="4"/>
- <field name="module_wiki_faq"/>
- <newline/>
- <field name="module_wiki_quality_manual"/>
-
- <separator string="Documents" colspan="4"/>
- <field name="module_document"/>
- <newline/>
- <field name="module_document_ftp"/>
- <newline/>
- <field name="module_document_webdav"/>
- </sheet>
- </form>
- </field>
- </record>
-
- <record id="action_knowledge_configuration" model="ir.actions.act_window">
- <field name="name">Configure Knowledge</field>
- <field name="res_model">knowledge.config.settings</field>
- <field name="view_mode">form</field>
- <field name="target">inline</field>
- </record>
- <menuitem id="menu_knowledge_configuration" name="Knowledge" parent="base.menu_config"
- sequence="19" action="action_knowledge_configuration"/>
-
</data>
</openerp>