Skip to content

Commit 07c0695

Browse files
committed
[MIG] document_knowledge: Migration to 18.0
1 parent 154fcbd commit 07c0695

File tree

8 files changed

+41
-14
lines changed

8 files changed

+41
-14
lines changed

document_knowledge/README.rst

+6
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ Contributors
110110
Trobz
111111

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

114115
Other credits
115116
-------------
@@ -118,6 +119,11 @@ The development of this module has been financially supported by:
118119

119120
- Camptocamp
120121

122+
The migration of this module from 17.0 to 18.0 was financially supported
123+
by:
124+
125+
- Camptocamp
126+
121127
Maintainers
122128
-----------
123129

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

-8
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,17 @@ class DocumentKnowledgeConfigSettings(models.TransientModel):
99

1010
module_attachment_indexation = fields.Boolean(
1111
"Attachments List and Document Indexation",
12-
help="Document indexation, full text search of attachements.\n"
13-
"- This installs the module attachment_indexation.",
1412
)
1513

1614
group_ir_attachment_user = fields.Boolean(
1715
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.",
2016
implied_group="document_knowledge.group_ir_attachment_user",
2117
)
2218

2319
module_document_page = fields.Boolean(
2420
"Manage document pages (Wiki)",
25-
help="Provide document page and category as a wiki.\n"
26-
"- This installs the module document_page.",
2721
)
2822

2923
module_document_page_approval = fields.Boolean(
3024
"Manage documents approval",
31-
help="Add workflow on documents per category.\n"
32-
"- This installs the module document_page_approval.",
3325
)

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

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
The development of this module has been financially supported by:
22

33
- Camptocamp
4+
5+
The migration of this module from 17.0 to 18.0 was financially supported
6+
by:
7+
8+
- Camptocamp

document_knowledge/static/description/index.html

+6
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ <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">
@@ -466,6 +467,11 @@ <h2><a class="toc-backref" href="#toc-entry-7">Other credits</a></h2>
466467
<ul class="simple">
467468
<li>Camptocamp</li>
468469
</ul>
470+
<p>The migration of this module from 17.0 to 18.0 was financially supported
471+
by:</p>
472+
<ul class="simple">
473+
<li>Camptocamp</li>
474+
</ul>
469475
</div>
470476
<div class="section" id="maintainers">
471477
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>

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

+20-4
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,32 @@
1616
name="maintenance_mode_setting"
1717
title="Knowledge and Documents Management"
1818
>
19-
<setting>
19+
<setting
20+
id="attachment_indexation"
21+
help="Document indexation, full text search of attachements.
22+
- This installs the module attachment_indexation."
23+
>
2024
<field name="module_attachment_indexation" />
2125
</setting>
22-
<setting>
26+
<setting
27+
id="attachment_user"
28+
help="When you set this field all users will be able to manage
29+
attachments centrally, from the Document Knowledge/Documents menu."
30+
>
2331
<field name="group_ir_attachment_user" />
2432
</setting>
25-
<setting>
33+
<setting
34+
id="document_page"
35+
help="Provide document page and category as a wiki.
36+
- This installs the module document_page."
37+
>
2638
<field name="module_document_page" />
2739
</setting>
28-
<setting>
40+
<setting
41+
id="document_page_approval"
42+
help="Add workflow on documents per category.
43+
- This installs the module document_page_approval."
44+
>
2945
<field name="module_document_page_approval" />
3046
</setting>
3147
</block>

0 commit comments

Comments
 (0)