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
|
||||
|
||||
- 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
|
||||
|
||||
|
@ -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, "
|
||||
|
@ -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.",
|
||||
)
|
||||
|
@ -14,3 +14,4 @@
|
||||
Trobz
|
||||
|
||||
- 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
|
||||
|
@ -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 <<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>
|
||||
</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>
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user