[MIG] document_knowledge: Migration to 18.0

This commit is contained in:
Khôi (Kiên Kim) 2024-10-29 17:42:54 +07:00
parent 9cc5acb93b
commit f82dce43cc
8 changed files with 16 additions and 35 deletions

View File

@ -110,11 +110,13 @@ Contributors
Trobz
- Dung Tran <dungtd@trobz.com>
- Khoi (Kien Kim) khoikk@trobz.com
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

View File

@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Documents Knowledge",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"author": "OpenERP SA,"
"MONK Software, "
"Tecnativa, "

View File

@ -7,27 +7,7 @@ from odoo import fields, models
class DocumentKnowledgeConfigSettings(models.TransientModel):
_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(
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",
)
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.",
)

View File

@ -14,3 +14,4 @@
Trobz
- Dung Tran \<<dungtd@trobz.com>\>
- Khoi (Kien Kim) <khoikk@trobz.com>

View File

@ -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

View File

@ -458,11 +458,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<p>Trobz</p>
<ul class="simple">
<li>Dung Tran &lt;<a class="reference external" href="mailto:dungtd&#64;trobz.com">dungtd&#64;trobz.com</a>&gt;</li>
<li>Khoi (Kien Kim) <a class="reference external" href="mailto:khoikk&#64;trobz.com">khoikk&#64;trobz.com</a></li>
</ul>
</div>
<div class="section" id="other-credits">
<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">
<li>Camptocamp</li>
</ul>

View File

@ -2,8 +2,9 @@
<odoo>
<record id="knowledge_action_documents" model="ir.actions.act_window">
<field name="name">Documents</field>
<field name="path">documents</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>
</record>
<record id="ir_attachment_view_user_documents" model="ir.ui.view">

View File

@ -16,18 +16,13 @@
name="maintenance_mode_setting"
title="Knowledge and Documents Management"
>
<setting>
<field name="module_attachment_indexation" />
</setting>
<setting>
<setting
id="attachment_user"
help="When you set this field all users will be able to manage
attachments centrally, from the Document Knowledge/Documents menu."
>
<field name="group_ir_attachment_user" />
</setting>
<setting>
<field name="module_document_page" />
</setting>
<setting>
<field name="module_document_page_approval" />
</setting>
</block>
</app>
</xpath>