mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-13 15:34:49 -06:00
[MIG] document_knowledge: Migration to 18.0
This commit is contained in:
parent
9cc5acb93b
commit
f82dce43cc
@ -110,11 +110,13 @@ Contributors
|
|||||||
Trobz
|
Trobz
|
||||||
|
|
||||||
- Dung Tran <dungtd@trobz.com>
|
- Dung Tran <dungtd@trobz.com>
|
||||||
|
- Khoi (Kien Kim) khoikk@trobz.com
|
||||||
|
|
||||||
Other credits
|
Other credits
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
The development of this module has been financially supported by:
|
The migration of this module from 17.0 to 18.0 was financially supported
|
||||||
|
by:
|
||||||
|
|
||||||
- Camptocamp
|
- Camptocamp
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# 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": "Documents Knowledge",
|
"name": "Documents Knowledge",
|
||||||
"version": "17.0.1.0.0",
|
"version": "18.0.1.0.0",
|
||||||
"author": "OpenERP SA,"
|
"author": "OpenERP SA,"
|
||||||
"MONK Software, "
|
"MONK Software, "
|
||||||
"Tecnativa, "
|
"Tecnativa, "
|
||||||
|
@ -7,27 +7,7 @@ from odoo import fields, models
|
|||||||
class DocumentKnowledgeConfigSettings(models.TransientModel):
|
class DocumentKnowledgeConfigSettings(models.TransientModel):
|
||||||
_inherit = "res.config.settings"
|
_inherit = "res.config.settings"
|
||||||
|
|
||||||
module_attachment_indexation = fields.Boolean(
|
|
||||||
"Attachments List and Document Indexation",
|
|
||||||
help="Document indexation, full text search of attachements.\n"
|
|
||||||
"- This installs the module attachment_indexation.",
|
|
||||||
)
|
|
||||||
|
|
||||||
group_ir_attachment_user = fields.Boolean(
|
group_ir_attachment_user = fields.Boolean(
|
||||||
string="Central access to Documents",
|
string="Central access to Documents",
|
||||||
help="When you set this field all users will be able to manage "
|
|
||||||
"attachments centrally, from the Document Knowledge/Documents menu.",
|
|
||||||
implied_group="document_knowledge.group_ir_attachment_user",
|
implied_group="document_knowledge.group_ir_attachment_user",
|
||||||
)
|
)
|
||||||
|
|
||||||
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.",
|
|
||||||
)
|
|
||||||
|
|
||||||
module_document_page_approval = fields.Boolean(
|
|
||||||
"Manage documents approval",
|
|
||||||
help="Add workflow on documents per category.\n"
|
|
||||||
"- This installs the module document_page_approval.",
|
|
||||||
)
|
|
||||||
|
@ -14,3 +14,4 @@
|
|||||||
Trobz
|
Trobz
|
||||||
|
|
||||||
- Dung Tran \<<dungtd@trobz.com>\>
|
- Dung Tran \<<dungtd@trobz.com>\>
|
||||||
|
- Khoi (Kien Kim) <khoikk@trobz.com>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
The development of this module has been financially supported by:
|
The migration of this module from 17.0 to 18.0 was financially supported by:
|
||||||
|
|
||||||
- Camptocamp
|
- Camptocamp
|
||||||
|
@ -458,11 +458,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|||||||
<p>Trobz</p>
|
<p>Trobz</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li>Dung Tran <<a class="reference external" href="mailto:dungtd@trobz.com">dungtd@trobz.com</a>></li>
|
<li>Dung Tran <<a class="reference external" href="mailto:dungtd@trobz.com">dungtd@trobz.com</a>></li>
|
||||||
|
<li>Khoi (Kien Kim) <a class="reference external" href="mailto:khoikk@trobz.com">khoikk@trobz.com</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="other-credits">
|
<div class="section" id="other-credits">
|
||||||
<h2><a class="toc-backref" href="#toc-entry-7">Other credits</a></h2>
|
<h2><a class="toc-backref" href="#toc-entry-7">Other credits</a></h2>
|
||||||
<p>The development of this module has been financially supported by:</p>
|
<p>The migration of this module from 17.0 to 18.0 was financially supported
|
||||||
|
by:</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li>Camptocamp</li>
|
<li>Camptocamp</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
<odoo>
|
<odoo>
|
||||||
<record id="knowledge_action_documents" model="ir.actions.act_window">
|
<record id="knowledge_action_documents" model="ir.actions.act_window">
|
||||||
<field name="name">Documents</field>
|
<field name="name">Documents</field>
|
||||||
|
<field name="path">documents</field>
|
||||||
<field name="res_model">ir.attachment</field>
|
<field name="res_model">ir.attachment</field>
|
||||||
<field name="view_mode">kanban,tree,form</field>
|
<field name="view_mode">kanban,list,form</field>
|
||||||
<field name="context">{'search_default_user_documents': True}</field>
|
<field name="context">{'search_default_user_documents': True}</field>
|
||||||
</record>
|
</record>
|
||||||
<record id="ir_attachment_view_user_documents" model="ir.ui.view">
|
<record id="ir_attachment_view_user_documents" model="ir.ui.view">
|
||||||
|
@ -16,18 +16,13 @@
|
|||||||
name="maintenance_mode_setting"
|
name="maintenance_mode_setting"
|
||||||
title="Knowledge and Documents Management"
|
title="Knowledge and Documents Management"
|
||||||
>
|
>
|
||||||
<setting>
|
<setting
|
||||||
<field name="module_attachment_indexation" />
|
id="attachment_user"
|
||||||
</setting>
|
help="When you set this field all users will be able to manage
|
||||||
<setting>
|
attachments centrally, from the Document Knowledge/Documents menu."
|
||||||
|
>
|
||||||
<field name="group_ir_attachment_user" />
|
<field name="group_ir_attachment_user" />
|
||||||
</setting>
|
</setting>
|
||||||
<setting>
|
|
||||||
<field name="module_document_page" />
|
|
||||||
</setting>
|
|
||||||
<setting>
|
|
||||||
<field name="module_document_page_approval" />
|
|
||||||
</setting>
|
|
||||||
</block>
|
</block>
|
||||||
</app>
|
</app>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
Loading…
Reference in New Issue
Block a user