From 8282ed4f73376bc9b88323896bbad1b49fb3beea Mon Sep 17 00:00:00 2001 From: cubells Date: Tue, 19 Jun 2018 18:00:23 +0200 Subject: [PATCH] [MIG] knowledge: Complete migration --- document_knowledge/README.rst | 79 ++-- document_knowledge/__manifest__.py | 16 +- .../data/ir_module_category.xml | 14 +- document_knowledge/demo/knowledge.xml | 6 +- document_knowledge/i18n/knowledge.pot | 102 ++-- document_knowledge/readme/CONTRIBUTORS.rst | 7 + document_knowledge/readme/DESCRIPTION.rst | 1 + document_knowledge/readme/ROADMAP.rst | 2 + document_knowledge/readme/USAGE.rst | 3 + .../security/knowledge_security.xml | 10 +- .../static/description/index.html | 442 ++++++++++++++++++ document_knowledge/views/knowledge.xml | 86 ++-- document_knowledge/views/res_config.xml | 122 ++--- 13 files changed, 700 insertions(+), 190 deletions(-) create mode 100644 document_knowledge/readme/CONTRIBUTORS.rst create mode 100644 document_knowledge/readme/DESCRIPTION.rst create mode 100644 document_knowledge/readme/ROADMAP.rst create mode 100644 document_knowledge/readme/USAGE.rst create mode 100644 document_knowledge/static/description/index.html diff --git a/document_knowledge/README.rst b/document_knowledge/README.rst index bf93ac79..f384ba1b 100644 --- a/document_knowledge/README.rst +++ b/document_knowledge/README.rst @@ -1,22 +1,33 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 +=========================== +Knowledge Management System +=========================== -================================ -Knowledge Management System base -================================ +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github + :target: https://github.com/OCA/knowledge/tree/11.0/knowledge + :alt: OCA/knowledge +.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/118/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| This module is the base for any knowledge and document management application. -Installation -============ +**Table of contents** -* None - -Configuration -============= - -* None +.. contents:: + :local: Usage ===== @@ -25,51 +36,55 @@ To use this module, you need to: * Go to Knowledge / Configuration / Settings -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/repo/118/10.0 - - Known issues / Roadmap ====================== -* Migrate related modules to v10 and add options in the settings as soon as they are installable +* Migrate related modules to v11 and add options in the settings as soon as + they are installable. Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. +Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed feedback `here `_. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback. +Do not contact contributors directly about support or help with technical issues. Credits ======= +Authors +~~~~~~~ + +* OpenERP SA +* MONK Software +* Tecnativa + Contributors ------------- +~~~~~~~~~~~~ * Odoo SA * Savoir-faire Linux * Gervais Naoussi * Leonardo Donelli * Maxime Chambreuil +* Fayez Qandeel +* Vicent Cubells -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit http://odoo-community.org. +This module is part of the `OCA/knowledge `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/document_knowledge/__manifest__.py b/document_knowledge/__manifest__.py index 1adbb8f7..cd536dcf 100644 --- a/document_knowledge/__manifest__.py +++ b/document_knowledge/__manifest__.py @@ -3,18 +3,24 @@ { "name": "Knowledge Management System", "version": "11.0.1.0.0", - "author": "OpenERP SA, MONK Software, Odoo Community Association (OCA)", + "author": "OpenERP SA," + "MONK Software, " + "Tecnativa, " + "Odoo Community Association (OCA)", "category": "Knowledge", "license": "AGPL-3", - "website": "https://odoo-community.org/", - "depends": ["base"], + "website": "https://github.com/OCA/knowledge", + "depends": [ + "base", + ], "data": [ "data/ir_module_category.xml", "security/knowledge_security.xml", "views/knowledge.xml", "views/res_config.xml", ], - "demo": ["demo/knowledge.xml"], + "demo": [ + "demo/knowledge.xml", + ], "installable": True, - "auto_install": False, } diff --git a/document_knowledge/data/ir_module_category.xml b/document_knowledge/data/ir_module_category.xml index 5868e55b..719722ac 100644 --- a/document_knowledge/data/ir_module_category.xml +++ b/document_knowledge/data/ir_module_category.xml @@ -1,12 +1,12 @@ - - Knowledge - Manage documents and knowledge-related - applications - - 30 - + + Knowledge + Manage documents and knowledge-related + applications + + 30 + diff --git a/document_knowledge/demo/knowledge.xml b/document_knowledge/demo/knowledge.xml index 4c646a22..73ef62d7 100644 --- a/document_knowledge/demo/knowledge.xml +++ b/document_knowledge/demo/knowledge.xml @@ -1,8 +1,8 @@ - - - + + + diff --git a/document_knowledge/i18n/knowledge.pot b/document_knowledge/i18n/knowledge.pot index 2df3b729..b8c0939c 100644 --- a/document_knowledge/i18n/knowledge.pot +++ b/document_knowledge/i18n/knowledge.pot @@ -4,10 +4,8 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-01-21 14:08+0000\n" -"PO-Revision-Date: 2015-01-21 14:08+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -16,18 +14,14 @@ msgstr "" "Plural-Forms: \n" #. module: knowledge -#: view:knowledge.config.settings:knowledge.view_knowledge_configuration -msgid "Apply" +#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_document_page_approval +msgid "Add workflow on documents per category.\n" +"- This installs the module document_page_approval." msgstr "" #. module: knowledge -#: view:knowledge.config.settings:knowledge.view_knowledge_configuration -msgid "Cancel" -msgstr "" - -#. module: knowledge -#: model:ir.ui.menu,name:knowledge.menu_document2 -msgid "Collaborative Content" +#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_cmis_read +msgid "Attach files from an external DMS into Odoo" msgstr "" #. module: knowledge @@ -36,64 +30,104 @@ msgid "Configuration" msgstr "" #. module: knowledge -#: model:ir.actions.act_window,name:knowledge.action_knowledge_configuration -#: view:knowledge.config.settings:knowledge.view_knowledge_configuration -msgid "Configure Knowledge" +#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_cmis_read +msgid "Connect Odoo with a CMIS compatible server to attach files\n" +"to an Odoo record.\n" +"- This installs the module cmis_read." msgstr "" #. module: knowledge -#: field:knowledge.config.settings,create_uid:0 -msgid "Created by" +#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_cmis_write +msgid "Connect Odoo with a CMIS compatible server to store files.\n" +"- This installs the module cmis_write." msgstr "" #. module: knowledge -#: field:knowledge.config.settings,create_date:0 -msgid "Created on" +#: model:ir.ui.view,arch_db:knowledge.view_knowledge_configuration +msgid "Connect with an external DMS" msgstr "" #. module: knowledge -#: help:knowledge.config.settings,module_document:0 +#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_document msgid "Document indexation, full text search of attachements.\n" -"-This installs the module document." +"- This installs the module document." msgstr "" #. module: knowledge -#: view:knowledge.config.settings:knowledge.view_knowledge_configuration +#: model:ir.actions.act_window,name:knowledge.knowledge_action_documents +#: model:ir.ui.menu,name:knowledge.menu_document +#: model:ir.ui.menu,name:knowledge.menu_document_section +#: model:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents msgid "Documents" msgstr "" #. module: knowledge -#: field:knowledge.config.settings,id:0 -msgid "ID" +#: model:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents +msgid "Group by" msgstr "" #. module: knowledge -#: model:ir.ui.menu,name:knowledge.menu_document -#: model:ir.ui.menu,name:knowledge.menu_knowledge_configuration +#: model:ir.module.category,name:knowledge.module_category_knowledge +#: model:ir.ui.menu,name:knowledge.menu_document_root +#: model:ir.ui.view,arch_db:knowledge.view_knowledge_configuration msgid "Knowledge" msgstr "" #. module: knowledge -#: view:knowledge.config.settings:knowledge.view_knowledge_configuration +#: model:ir.ui.view,arch_db:knowledge.view_knowledge_configuration msgid "Knowledge and Documents Management" msgstr "" #. module: knowledge -#: field:knowledge.config.settings,write_uid:0 -msgid "Last Updated by" +#: model:res.groups,name:knowledge.group_document_user +msgid "Knowledge user" msgstr "" #. module: knowledge -#: field:knowledge.config.settings,write_date:0 -msgid "Last Updated on" +#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document_page +msgid "Manage document pages (Wiki)" msgstr "" #. module: knowledge -#: field:knowledge.config.settings,module_document:0 +#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document msgid "Manage documents" msgstr "" #. module: knowledge -#: view:knowledge.config.settings:knowledge.view_knowledge_configuration -msgid "or" +#: model:ir.module.category,description:knowledge.module_category_knowledge +msgid "Manage documents and knowledge-related\n" +" applications\n" +" " msgstr "" + +#. module: knowledge +#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document_page_approval +msgid "Manage documents approval" +msgstr "" + +#. module: knowledge +#: model:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents +msgid "Model" +msgstr "" + +#. module: knowledge +#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_document_page +msgid "Provide document page and category as a wiki.\n" +"- This installs the module document_page." +msgstr "" + +#. module: knowledge +#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_cmis_write +msgid "Store attachments in an external DMS instead of the Odoo Filestore" +msgstr "" + +#. module: knowledge +#: model:ir.model,name:knowledge.model_ir_attachment +msgid "ir.attachment" +msgstr "" + +#. module: knowledge +#: model:ir.model,name:knowledge.model_res_config_settings +msgid "res.config.settings" +msgstr "" + diff --git a/document_knowledge/readme/CONTRIBUTORS.rst b/document_knowledge/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..110cd4d8 --- /dev/null +++ b/document_knowledge/readme/CONTRIBUTORS.rst @@ -0,0 +1,7 @@ +* Odoo SA +* Savoir-faire Linux +* Gervais Naoussi +* Leonardo Donelli +* Maxime Chambreuil +* Fayez Qandeel +* Vicent Cubells diff --git a/document_knowledge/readme/DESCRIPTION.rst b/document_knowledge/readme/DESCRIPTION.rst new file mode 100644 index 00000000..6c4996bc --- /dev/null +++ b/document_knowledge/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module is the base for any knowledge and document management application. diff --git a/document_knowledge/readme/ROADMAP.rst b/document_knowledge/readme/ROADMAP.rst new file mode 100644 index 00000000..ce23930f --- /dev/null +++ b/document_knowledge/readme/ROADMAP.rst @@ -0,0 +1,2 @@ +* Migrate related modules to v11 and add options in the settings as soon as + they are installable. diff --git a/document_knowledge/readme/USAGE.rst b/document_knowledge/readme/USAGE.rst new file mode 100644 index 00000000..fa66f7bc --- /dev/null +++ b/document_knowledge/readme/USAGE.rst @@ -0,0 +1,3 @@ +To use this module, you need to: + +* Go to Knowledge / Configuration / Settings diff --git a/document_knowledge/security/knowledge_security.xml b/document_knowledge/security/knowledge_security.xml index 816b6b57..d377b590 100644 --- a/document_knowledge/security/knowledge_security.xml +++ b/document_knowledge/security/knowledge_security.xml @@ -1,10 +1,10 @@ - - Knowledge user - - - + + Knowledge user + + + diff --git a/document_knowledge/static/description/index.html b/document_knowledge/static/description/index.html new file mode 100644 index 00000000..e2eb2476 --- /dev/null +++ b/document_knowledge/static/description/index.html @@ -0,0 +1,442 @@ + + + + + + +Knowledge Management System + + + +
+

Knowledge Management System

+ + +

Beta License: AGPL-3 OCA/knowledge Try me on Runbot

+

This module is the base for any knowledge and document management application.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  • Go to Knowledge / Configuration / Settings
  • +
+
+
+

Known issues / Roadmap

+
    +
  • Migrate related modules to v11 and add options in the settings as soon as +they are installable.
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • OpenERP SA
  • +
  • MONK Software
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/knowledge project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/document_knowledge/views/knowledge.xml b/document_knowledge/views/knowledge.xml index 52d8d90f..26a244be 100644 --- a/document_knowledge/views/knowledge.xml +++ b/document_knowledge/views/knowledge.xml @@ -1,54 +1,54 @@ - - Documents - ir.attachment - kanban,tree,form - {'search_default_user_documents': True} - + + Documents + ir.attachment + kanban,tree,form + {'search_default_user_documents': True} + - - Documents search view: additional filters - ir.attachment - - - - - - - - - - - - + + Documents search view: additional filters + ir.attachment + + + + + + + + + + + + - - + + - + - + - + diff --git a/document_knowledge/views/res_config.xml b/document_knowledge/views/res_config.xml index f24c004a..a1d0052f 100644 --- a/document_knowledge/views/res_config.xml +++ b/document_knowledge/views/res_config.xml @@ -1,66 +1,66 @@ - - res.config.settings.view.form.inherit.knowledge - res.config.settings - - - - -
-

Knowledge and Documents Management

-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-

Connect with an external DMS

-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
+ + res.config.settings.view.form.inherit.knowledge + res.config.settings + + + + +
+

Knowledge and Documents Management

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+

Connect with an external DMS

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+