From f82dce43ccd7a34fa380e1755bada97fd6b29da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=C3=B4i=20=28Ki=C3=AAn=20Kim=29?= Date: Tue, 29 Oct 2024 17:42:54 +0700 Subject: [PATCH] [MIG] document_knowledge: Migration to 18.0 --- document_knowledge/README.rst | 4 +++- document_knowledge/__manifest__.py | 2 +- document_knowledge/models/res_config.py | 20 ------------------- document_knowledge/readme/CONTRIBUTORS.md | 1 + document_knowledge/readme/CREDITS.md | 2 +- .../static/description/index.html | 4 +++- .../views/document_knowledge.xml | 3 ++- document_knowledge/views/res_config.xml | 15 +++++--------- 8 files changed, 16 insertions(+), 35 deletions(-) diff --git a/document_knowledge/README.rst b/document_knowledge/README.rst index a9896612153..438e72fba12 100644 --- a/document_knowledge/README.rst +++ b/document_knowledge/README.rst @@ -110,11 +110,13 @@ Contributors Trobz - Dung Tran +- 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 diff --git a/document_knowledge/__manifest__.py b/document_knowledge/__manifest__.py index 12017548cf9..8701cb791eb 100644 --- a/document_knowledge/__manifest__.py +++ b/document_knowledge/__manifest__.py @@ -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, " diff --git a/document_knowledge/models/res_config.py b/document_knowledge/models/res_config.py index 9e59feb780f..75fdf5321c7 100644 --- a/document_knowledge/models/res_config.py +++ b/document_knowledge/models/res_config.py @@ -7,27 +7,7 @@ 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.", - ) diff --git a/document_knowledge/readme/CONTRIBUTORS.md b/document_knowledge/readme/CONTRIBUTORS.md index a57153054a6..11902e5d195 100644 --- a/document_knowledge/readme/CONTRIBUTORS.md +++ b/document_knowledge/readme/CONTRIBUTORS.md @@ -14,3 +14,4 @@ Trobz - Dung Tran \<\> +- Khoi (Kien Kim) diff --git a/document_knowledge/readme/CREDITS.md b/document_knowledge/readme/CREDITS.md index 705d3b30cad..f024a19f86f 100644 --- a/document_knowledge/readme/CREDITS.md +++ b/document_knowledge/readme/CREDITS.md @@ -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 diff --git a/document_knowledge/static/description/index.html b/document_knowledge/static/description/index.html index 66a26da7b2e..cf7760bec45 100644 --- a/document_knowledge/static/description/index.html +++ b/document_knowledge/static/description/index.html @@ -458,11 +458,13 @@

Contributors

Trobz

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
diff --git a/document_knowledge/views/document_knowledge.xml b/document_knowledge/views/document_knowledge.xml index 36cf842914c..11570c8f839 100644 --- a/document_knowledge/views/document_knowledge.xml +++ b/document_knowledge/views/document_knowledge.xml @@ -2,8 +2,9 @@ Documents + documents ir.attachment - kanban,tree,form + kanban,list,form {'search_default_user_documents': True} diff --git a/document_knowledge/views/res_config.xml b/document_knowledge/views/res_config.xml index f13690a8e1b..51d8cef1409 100644 --- a/document_knowledge/views/res_config.xml +++ b/document_knowledge/views/res_config.xml @@ -16,18 +16,13 @@ name="maintenance_mode_setting" title="Knowledge and Documents Management" > - - - - + - - - - - -