Skip to content

Commit f82dce4

Browse files
committed
[MIG] document_knowledge: Migration to 18.0
1 parent 9cc5acb commit f82dce4

File tree

8 files changed

+16
-35
lines changed

8 files changed

+16
-35
lines changed

document_knowledge/README.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,13 @@ Contributors
110110
Trobz
111111

112112
- Dung Tran <[email protected]>
113+
- Khoi (Kien Kim) [email protected]
113114

114115
Other credits
115116
-------------
116117

117-
The development of this module has been financially supported by:
118+
The migration of this module from 17.0 to 18.0 was financially supported
119+
by:
118120

119121
- Camptocamp
120122

document_knowledge/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
33
{
44
"name": "Documents Knowledge",
5-
"version": "17.0.1.0.0",
5+
"version": "18.0.1.0.0",
66
"author": "OpenERP SA,"
77
"MONK Software, "
88
"Tecnativa, "

document_knowledge/models/res_config.py

-20
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,7 @@
77
class DocumentKnowledgeConfigSettings(models.TransientModel):
88
_inherit = "res.config.settings"
99

10-
module_attachment_indexation = fields.Boolean(
11-
"Attachments List and Document Indexation",
12-
help="Document indexation, full text search of attachements.\n"
13-
"- This installs the module attachment_indexation.",
14-
)
15-
1610
group_ir_attachment_user = fields.Boolean(
1711
string="Central access to Documents",
18-
help="When you set this field all users will be able to manage "
19-
"attachments centrally, from the Document Knowledge/Documents menu.",
2012
implied_group="document_knowledge.group_ir_attachment_user",
2113
)
22-
23-
module_document_page = fields.Boolean(
24-
"Manage document pages (Wiki)",
25-
help="Provide document page and category as a wiki.\n"
26-
"- This installs the module document_page.",
27-
)
28-
29-
module_document_page_approval = fields.Boolean(
30-
"Manage documents approval",
31-
help="Add workflow on documents per category.\n"
32-
"- This installs the module document_page_approval.",
33-
)

document_knowledge/readme/CONTRIBUTORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
Trobz
1515

1616
- Dung Tran \<<[email protected]>\>
17+
- Khoi (Kien Kim) <[email protected]>

document_knowledge/readme/CREDITS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
The development of this module has been financially supported by:
1+
The migration of this module from 17.0 to 18.0 was financially supported by:
22

33
- Camptocamp

document_knowledge/static/description/index.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,13 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
458458
<p>Trobz</p>
459459
<ul class="simple">
460460
<li>Dung Tran &lt;<a class="reference external" href="mailto:dungtd&#64;trobz.com">dungtd&#64;trobz.com</a>&gt;</li>
461+
<li>Khoi (Kien Kim) <a class="reference external" href="mailto:khoikk&#64;trobz.com">khoikk&#64;trobz.com</a></li>
461462
</ul>
462463
</div>
463464
<div class="section" id="other-credits">
464465
<h2><a class="toc-backref" href="#toc-entry-7">Other credits</a></h2>
465-
<p>The development of this module has been financially supported by:</p>
466+
<p>The migration of this module from 17.0 to 18.0 was financially supported
467+
by:</p>
466468
<ul class="simple">
467469
<li>Camptocamp</li>
468470
</ul>

document_knowledge/views/document_knowledge.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
<odoo>
33
<record id="knowledge_action_documents" model="ir.actions.act_window">
44
<field name="name">Documents</field>
5+
<field name="path">documents</field>
56
<field name="res_model">ir.attachment</field>
6-
<field name="view_mode">kanban,tree,form</field>
7+
<field name="view_mode">kanban,list,form</field>
78
<field name="context">{'search_default_user_documents': True}</field>
89
</record>
910
<record id="ir_attachment_view_user_documents" model="ir.ui.view">

document_knowledge/views/res_config.xml

+5-10
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,13 @@
1616
name="maintenance_mode_setting"
1717
title="Knowledge and Documents Management"
1818
>
19-
<setting>
20-
<field name="module_attachment_indexation" />
21-
</setting>
22-
<setting>
19+
<setting
20+
id="attachment_user"
21+
help="When you set this field all users will be able to manage
22+
attachments centrally, from the Document Knowledge/Documents menu."
23+
>
2324
<field name="group_ir_attachment_user" />
2425
</setting>
25-
<setting>
26-
<field name="module_document_page" />
27-
</setting>
28-
<setting>
29-
<field name="module_document_page_approval" />
30-
</setting>
3126
</block>
3227
</app>
3328
</xpath>

0 commit comments

Comments
 (0)