[MIG] document_knowledge: Migration to 17.0

This commit is contained in:
Mikel 2023-12-21 17:07:47 +01:00 committed by Khôi (Kiên Kim)
parent 2c2e1fb1fa
commit 24447ee494
5 changed files with 24 additions and 47 deletions

View File

@ -7,7 +7,7 @@ Documents Knowledge
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c1488375286777cfdb9187452f29e3f8a28157ba0f11fa21061916703e669afc
!! source digest: sha256:4a24d3128856eb41c683a5a115aa5933ed495bc5efd0832da27c4cefae44c03b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png

View File

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

View File

@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@ -367,7 +366,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c1488375286777cfdb9187452f29e3f8a28157ba0f11fa21061916703e669afc
!! source digest: sha256:4a24d3128856eb41c683a5a115aa5933ed495bc5efd0832da27c4cefae44c03b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/knowledge/tree/17.0/document_knowledge"><img alt="OCA/knowledge" src="https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-document_knowledge"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/knowledge&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module is the base for any knowledge and document management

View File

@ -6,52 +6,30 @@
<field name="inherit_id" ref="base.res_config_settings_view_form" />
<field name="priority" eval="90" />
<field name="arch" type="xml">
<xpath expr="//div[hasclass('settings')]" position="inside">
<div
class="app_settings_block"
<xpath expr="//form" position="inside">
<app
data-string="Knowledge"
string="Knowledge"
data-key="document_knowledge"
name="document_knowledge"
>
<h2>Knowledge and Documents Management</h2>
<div
class="row mt16 o_settings_container"
id="maintenance_mode_setting"
<block
name="maintenance_mode_setting"
title="Knowledge and Documents Management"
>
<div class="col-xs-12 col-md-12 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_attachment_indexation" />
</div>
<div class="o_setting_right_pane">
<label for="module_attachment_indexation" />
</div>
</div>
<div class="col-xs-12 col-md-12 o_setting_box">
<div class="o_setting_left_pane">
<field name="group_ir_attachment_user" />
</div>
<div class="o_setting_right_pane">
<label for="group_ir_attachment_user" />
</div>
</div>
<div class="col-xs-12 col-md-12 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_document_page" />
</div>
<div class="o_setting_right_pane">
<label for="module_document_page" />
</div>
</div>
<div class="col-xs-12 col-md-12 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_document_page_approval" />
</div>
<div class="o_setting_right_pane">
<label for="module_document_page_approval" />
</div>
</div>
</div>
</div>
<setting>
<field name="module_attachment_indexation" />
</setting>
<setting>
<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>
</field>
</record>