[IMP] base_setup: improve knowledge config wizard
authorRaphael Collet <rco@openerp.com>
Fri, 20 Apr 2012 13:31:43 +0000 (15:31 +0200)
committerRaphael Collet <rco@openerp.com>
Fri, 20 Apr 2012 13:31:43 +0000 (15:31 +0200)
bzr revid: rco@openerp.com-20120420133143-9js93k9ggrphxa5l

addons/base_setup/res_config.py
addons/base_setup/res_config_view.xml
addons/document_ftp/res_config.py
addons/document_ftp/res_config_view.xml

index 8d0808a..b1dbe91 100644 (file)
@@ -59,19 +59,23 @@ class report_config_settings(osv.osv_memory):
 
 
 class knowledge_config_settings(osv.osv_memory):
-    _name = 'knowledge.configuration'
+    _name = 'knowledge.config.settings'
     _inherit = 'res.config.settings'
     _columns = {
-        'module_wiki_quality_manual': fields.boolean('Use an internal wiki to group FAQ',
-            help="""It installs the wiki_quality_manual module."""),
-        'module_wiki_faq': fields.boolean('Track quality with wiki',
-            help="""It install the wiki_faq."""), 
-        'module_document': fields.boolean('Full Document Indexing',
-            help="""It install the document."""),
+        '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 (pptx and docx are not supported), and a document dashboard.
+                This installs the module document."""),
         'module_document_ftp': fields.boolean('Share repositories (FTP)',
-            help="""It install the document_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="""It install the document_webdav."""),                                   
+            help="""Access your documents in OpenERP through WebDAV.
+                This installs the module document_webdav."""),
     }
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
index 42378c1..0d3297b 100644 (file)
@@ -65,7 +65,7 @@
 
         <record id="view_knowledge_configuration" model="ir.ui.view">
             <field name="name">Configure Knowledge</field>
-            <field name="model">knowledge.configuration</field>
+            <field name="model">knowledge.config.settings</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
                 <form string="Configure Knowledge" layout="manual">
@@ -75,9 +75,9 @@
                     </div>
                     <sheet layout="auto">
                         <separator string="Wiki" colspan="4"/>
-                        <field name="module_wiki_quality_manual"/>
-                        <newline/>
                         <field name="module_wiki_faq"/>
+                        <newline/>
+                        <field name="module_wiki_quality_manual"/>
 
                         <separator string="Documents" colspan="4"/>
                         <field name="module_document"/>
@@ -92,7 +92,7 @@
 
         <record id="action_knowledge_configuration" model="ir.actions.act_window">
             <field name="name">Configure Knowledge</field>
-            <field name="res_model">knowledge.configuration</field>
+            <field name="res_model">knowledge.config.settings</field>
             <field name="view_mode">form</field>
             <field name="target">inline</field>
         </record>
index 564fe4f..374368d 100644 (file)
@@ -23,8 +23,8 @@ from osv import fields, osv
 from tools import config
 
 class documnet_ftp_setting(osv.osv_memory):
-    _name = 'knowledge.configuration'
-    _inherit = 'knowledge.configuration'
+    _name = 'knowledge.config.settings'
+    _inherit = 'knowledge.config.settings'
     _columns = {
         'document_ftp_url': fields.char('Browse Documents', size=128,
             help ="""Click the url to browse the documents""", readonly=True),               
index 19a152b..3b6b2f0 100644 (file)
@@ -2,7 +2,7 @@
     <data>
         <record id="view_document_ftp_configuration" model="ir.ui.view">
             <field name="name">Knowledge Application</field>
-            <field name="model">knowledge.configuration</field>
+            <field name="model">knowledge.config.settings</field>
             <field name="type">form</field>
             <field name="inherit_id" ref="base_setup.view_knowledge_configuration"/>
             <field name="arch" type="xml">