mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 03:42:19 -06:00
[MIG] document_knowledge: Migration to 18.0
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user