[MIG] knowledge: Migration to 12.0

This commit is contained in:
mreficent 2019-03-12 12:47:05 +01:00 committed by Khôi (Kiên Kim)
parent ed94663711
commit 410538bdf5
6 changed files with 55 additions and 46 deletions

View File

@ -1,6 +1,6 @@
=========================== =========
Knowledge Management System Knowledge
=========================== =========
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
@ -14,13 +14,13 @@ Knowledge Management System
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github
:target: https://github.com/OCA/knowledge/tree/11.0/knowledge :target: https://github.com/OCA/knowledge/tree/12.0/knowledge
:alt: OCA/knowledge :alt: OCA/knowledge
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/knowledge-11-0/knowledge-11-0-knowledge :target: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-knowledge
:alt: Translate me on Weblate :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/118/11.0 :target: https://runbot.odoo-community.org/runbot/118/12.0
:alt: Try me on Runbot :alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5| |badge1| |badge2| |badge3| |badge4| |badge5|
@ -71,7 +71,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/knowledge/issues>`_. Bugs are tracked on `GitHub Issues <https://github.com/OCA/knowledge/issues>`_.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/knowledge/issues/new?body=module:%20knowledge%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. `feedback <https://github.com/OCA/knowledge/issues/new?body=module:%20knowledge%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues. Do not contact contributors directly about support or help with technical issues.
@ -112,6 +112,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
This module is part of the `OCA/knowledge <https://github.com/OCA/knowledge/tree/11.0/knowledge>`_ project on GitHub. This module is part of the `OCA/knowledge <https://github.com/OCA/knowledge/tree/12.0/knowledge>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@ -1,8 +1,8 @@
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{ {
"name": "Knowledge Management System", "name": "Knowledge",
"version": "11.0.3.0.0", "version": "12.0.1.0.0",
"author": "OpenERP SA," "author": "OpenERP SA,"
"MONK Software, " "MONK Software, "
"Tecnativa, " "Tecnativa, "

View File

@ -4,7 +4,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 11.0\n" "Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"
@ -14,52 +14,62 @@ msgstr ""
"Plural-Forms: \n" "Plural-Forms: \n"
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_document_page_approval #: model:ir.model.fields,help:knowledge.field_res_config_settings__module_document_page_approval
msgid "Add workflow on documents per category.\n" msgid "Add workflow on documents per category.\n"
"- This installs the module document_page_approval." "- This installs the module document_page_approval."
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_cmis_read #: model:ir.model.fields,field_description:knowledge.field_res_config_settings__module_cmis_read
msgid "Attach files from an external DMS into Odoo" msgid "Attach files from an external DMS into Odoo"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document #: model:ir.model,name:knowledge.model_ir_attachment
msgid "Attachment"
msgstr ""
#. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_res_config_settings__module_document
msgid "Attachments List and Document Indexation" msgid "Attachments List and Document Indexation"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_group_ir_attachment_user #: model:ir.model.fields,field_description:knowledge.field_res_config_settings__group_ir_attachment_user
#: model:res.groups,name:knowledge.group_ir_attachment_user #: model:res.groups,name:knowledge.group_ir_attachment_user
msgid "Central access to Documents" msgid "Central access to Documents"
msgstr "" msgstr ""
#. module: knowledge
#: model:ir.model,name:knowledge.model_res_config_settings
msgid "Config Settings"
msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.ui.menu,name:knowledge.menu_document_configuration #: model:ir.ui.menu,name:knowledge.menu_document_configuration
msgid "Configuration" msgid "Configuration"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_cmis_read #: 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" msgid "Connect Odoo with a CMIS compatible server to attach files\n"
"to an Odoo record.\n" "to an Odoo record.\n"
"- This installs the module cmis_read." "- This installs the module cmis_read."
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_cmis_write #: 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" msgid "Connect Odoo with a CMIS compatible server to store files.\n"
"- This installs the module cmis_write." "- This installs the module cmis_write."
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.ui.view,arch_db:knowledge.view_knowledge_configuration #: model_terms:ir.ui.view,arch_db:knowledge.view_knowledge_configuration
msgid "Connect with an external DMS" msgid "Connect with an external DMS"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_document #: model:ir.model.fields,help:knowledge.field_res_config_settings__module_document
msgid "Document indexation, full text search of attachements.\n" msgid "Document indexation, full text search of attachements.\n"
"- This installs the module document." "- This installs the module document."
msgstr "" msgstr ""
@ -68,24 +78,24 @@ msgstr ""
#: model:ir.actions.act_window,name:knowledge.knowledge_action_documents #: 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
#: model:ir.ui.menu,name:knowledge.menu_document_section #: model:ir.ui.menu,name:knowledge.menu_document_section
#: model:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents #: model_terms:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents
msgid "Documents" msgid "Documents"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents #: model_terms:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents
msgid "Group by" msgid "Group by"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.module.category,name:knowledge.module_category_knowledge #: model:ir.module.category,name:knowledge.module_category_knowledge
#: model:ir.ui.menu,name:knowledge.menu_document_root #: model:ir.ui.menu,name:knowledge.menu_document_root
#: model:ir.ui.view,arch_db:knowledge.view_knowledge_configuration #: model_terms:ir.ui.view,arch_db:knowledge.view_knowledge_configuration
msgid "Knowledge" msgid "Knowledge"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.ui.view,arch_db:knowledge.view_knowledge_configuration #: model_terms:ir.ui.view,arch_db:knowledge.view_knowledge_configuration
msgid "Knowledge and Documents Management" msgid "Knowledge and Documents Management"
msgstr "" msgstr ""
@ -95,7 +105,7 @@ msgid "Knowledge user"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document_page #: model:ir.model.fields,field_description:knowledge.field_res_config_settings__module_document_page
msgid "Manage document pages (Wiki)" msgid "Manage document pages (Wiki)"
msgstr "" msgstr ""
@ -107,21 +117,26 @@ msgid "Manage documents and knowledge-related\n"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document_page_approval #: model:ir.model.fields,field_description:knowledge.field_res_config_settings__module_document_page_approval
msgid "Manage documents approval" msgid "Manage documents approval"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents #: model_terms:ir.ui.view,arch_db:knowledge.ir_attachment_view_user_documents
msgid "Model" msgid "Model"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,help:knowledge.field_res_config_settings_module_document_page #: model:ir.model.fields,help:knowledge.field_res_config_settings__module_document_page
msgid "Provide document page and category as a wiki.\n" msgid "Provide document page and category as a wiki.\n"
"- This installs the module document_page." "- This installs the module document_page."
msgstr "" msgstr ""
#. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_ir_attachment__res_model
msgid "Resource Model"
msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.actions.act_window,name:knowledge.action_knowledge_configuration #: model:ir.actions.act_window,name:knowledge.action_knowledge_configuration
#: model:ir.ui.menu,name:knowledge.menu_knowledge_configuration #: model:ir.ui.menu,name:knowledge.menu_knowledge_configuration
@ -129,22 +144,17 @@ msgid "Settings"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_cmis_write #: 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" msgid "Store attachments in an external DMS instead of the Odoo Filestore"
msgstr "" msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.model.fields,help:knowledge.field_res_config_settings_group_ir_attachment_user #: model:ir.model.fields,help:knowledge.field_ir_attachment__res_model
msgid "The database object this attachment will be attached to."
msgstr ""
#. module: knowledge
#: model:ir.model.fields,help:knowledge.field_res_config_settings__group_ir_attachment_user
msgid "When you set this field all users will be able to manage attachments centrally, from the Knowledge/Documents menu." msgid "When you set this field all users will be able to manage attachments centrally, from the Knowledge/Documents menu."
msgstr "" 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 ""

View File

@ -5,7 +5,6 @@ from odoo import fields, models
class KnowledgeConfigSettings(models.TransientModel): class KnowledgeConfigSettings(models.TransientModel):
_inherit = 'res.config.settings' _inherit = 'res.config.settings'
module_document = fields.Boolean( module_document = fields.Boolean(

View File

@ -4,7 +4,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" /> <meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<title>Knowledge Management System</title> <title>Knowledge</title>
<style type="text/css"> <style type="text/css">
/* /*
@ -360,14 +360,14 @@ ul.auto-toc {
</style> </style>
</head> </head>
<body> <body>
<div class="document" id="knowledge-management-system"> <div class="document" id="knowledge">
<h1 class="title">Knowledge Management System</h1> <h1 class="title">Knowledge</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/knowledge/tree/11.0/knowledge"><img alt="OCA/knowledge" src="https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/knowledge-11-0/knowledge-11-0-knowledge"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/118/11.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/knowledge/tree/12.0/knowledge"><img alt="OCA/knowledge" src="https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-knowledge"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/118/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module is the base for any knowledge and document management application.</p> <p>This module is the base for any knowledge and document management application.</p>
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents"> <div class="contents local topic" id="contents">
@ -418,7 +418,7 @@ for which they have read permission.</p>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/knowledge/issues">GitHub Issues</a>. <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/knowledge/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported. 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 If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/knowledge/issues/new?body=module:%20knowledge%0Aversion:%2011.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <a class="reference external" href="https://github.com/OCA/knowledge/issues/new?body=module:%20knowledge%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p> <p>Do not contact contributors directly about support or help with technical issues.</p>
</div> </div>
<div class="section" id="credits"> <div class="section" id="credits">
@ -453,7 +453,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use.</p> promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/knowledge/tree/11.0/knowledge">OCA/knowledge</a> project on GitHub.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/knowledge/tree/12.0/knowledge">OCA/knowledge</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div> </div>
</div> </div>