mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-13 15:34:49 -06:00
Add CMIS modules to Settings
This commit is contained in:
parent
73c9ff5644
commit
820e6f5d4a
@ -34,6 +34,7 @@ Known issues / Roadmap
|
||||
======================
|
||||
|
||||
* Add options for other OCA extension modules as they are made available.
|
||||
* `Migrate CMIS modules to version 9 <https://github.com/OCA/connector-cmis/issues/8>`_
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
@ -20,8 +20,8 @@
|
||||
##############################################################################
|
||||
{
|
||||
"name": "Knowledge Management System",
|
||||
"version": "9.0.1.0.0",
|
||||
"depends": ["base", "base_setup"],
|
||||
"version": "9.0.1.1.0",
|
||||
"depends": ["base_setup"],
|
||||
"author": "OpenERP SA, Odoo Community Association (OCA)",
|
||||
"category": "Hidden/Dependency",
|
||||
"license": "AGPL-3",
|
||||
|
@ -32,17 +32,30 @@ class KnowledgeConfigSettings(models.TransientModel):
|
||||
module_document = fields.Boolean(
|
||||
'Manage documents',
|
||||
help='Document indexation, full text search of attachements.\n'
|
||||
'-This installs the module document.'
|
||||
'- This installs the module document.'
|
||||
)
|
||||
|
||||
module_document_page = fields.Boolean(
|
||||
'Manage document pages (Wiki)',
|
||||
help='Provide document page and category as a wiki.\n'
|
||||
'-This installs the module document_page.'
|
||||
'- This installs the module document_page.'
|
||||
)
|
||||
|
||||
module_document_page_approval = fields.Boolean(
|
||||
'Manage documents approval',
|
||||
help='Add workflow on documents per category.\n'
|
||||
'-This installs the module document_page_approval.'
|
||||
'- This installs the module document_page_approval.'
|
||||
)
|
||||
|
||||
module_cmis_read = fields.Boolean(
|
||||
'Attach files from an external DMS into Odoo',
|
||||
help='Connect Odoo with a CMIS compatible server to attach files\n'
|
||||
'to an Odoo record.\n'
|
||||
'- This installs the module cmis_read.'
|
||||
)
|
||||
|
||||
module_cmis_write = fields.Boolean(
|
||||
'Store attachments in an external DMS instead of the Odoo Filestore',
|
||||
help='Connect Odoo with a CMIS compatible server to store files.\n'
|
||||
'- This installs the module cmis_write.'
|
||||
)
|
||||
|
@ -20,35 +20,46 @@
|
||||
<field name="module_document" class="oe_inline"/>
|
||||
<label for="module_document"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<label for="id" string="Document pages"/>
|
||||
<div>
|
||||
<div>
|
||||
<field name="module_document_page" class="oe_inline"/>
|
||||
<label for="module_document_page"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<label for="id" string="Document page approval"/>
|
||||
<div>
|
||||
<div>
|
||||
<field name="module_document_page_approval" class="oe_inline"/>
|
||||
<label for="module_document_page_approval"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<separator string="Connect with an external DMS"/>
|
||||
<group>
|
||||
<label for="id" string="Using CMIS"/>
|
||||
<div>
|
||||
<div>
|
||||
<field name="module_cmis_read" class="oe_inline"/>
|
||||
<label for="module_cmis_read"/>
|
||||
</div>
|
||||
<div>
|
||||
<field name="module_cmis_write" class="oe_inline"/>
|
||||
<label for="module_cmis_write"/>
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
</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="Settings" parent="knowledge.menu_document_configuration"
|
||||
sequence="19" action="action_knowledge_configuration"/>
|
||||
|
||||
<menuitem id="menu_knowledge_configuration"
|
||||
name="Settings"
|
||||
parent="knowledge.menu_document_configuration"
|
||||
sequence="19"
|
||||
action="action_knowledge_configuration"/>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
|
Loading…
Reference in New Issue
Block a user