[MIG] document_knowledge: Migration to 18.0

This commit is contained in:
Khôi (Kiên Kim)
2024-10-29 17:42:54 +07:00
parent 9cc5acb93b
commit f82dce43cc
8 changed files with 16 additions and 35 deletions

View File

@@ -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">

View File

@@ -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>