From cd43f4494ed0a205bb999cf7f21930d69e246c51 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 27 Jan 2016 12:08:34 -0500 Subject: [PATCH] [IMP] Add CMIS modules to Settings --- knowledge/models/res_config.py | 19 ++++++++++++++++--- knowledge/views/res_config.xml | 31 +++++++++++++++++++++---------- 2 files changed, 37 insertions(+), 13 deletions(-) diff --git a/knowledge/models/res_config.py b/knowledge/models/res_config.py index 04f6e872..49ece8fc 100644 --- a/knowledge/models/res_config.py +++ b/knowledge/models/res_config.py @@ -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.' ) diff --git a/knowledge/views/res_config.xml b/knowledge/views/res_config.xml index edc82968..a3701961 100644 --- a/knowledge/views/res_config.xml +++ b/knowledge/views/res_config.xml @@ -20,35 +20,46 @@ + Configure Knowledge knowledge.config.settings form inline - + +