mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-16 12:12:57 -06:00
[MIG] knowledge: Complete migration
This commit is contained in:
parent
a2fcbf459a
commit
19e626fd39
@ -1,75 +1 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
|
||||
================================
|
||||
Knowledge Management System base
|
||||
================================
|
||||
|
||||
This module is the base for any knowledge and document management application.
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
* None
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
* None
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
To use this module, you need to:
|
||||
|
||||
* Go to Knowledge / Configuration / Settings
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/repo/118/10.0
|
||||
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
||||
* Migrate related modules to v10 and add options in the settings as soon as they are installable
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/
|
||||
knowledge/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback `here <https://github.com/OCA/
|
||||
knowledge/issues/new?body=module:%20
|
||||
knowledge%0Aversion:%20
|
||||
10.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Odoo SA <info@odoo.com>
|
||||
* Savoir-faire Linux <support@savoirfairelinux.com>
|
||||
* Gervais Naoussi <gervaisnaoussi@gmail.com>
|
||||
* Leonardo Donelli <leonardo.donelli@monksoftware.it>
|
||||
* Maxime Chambreuil <mchambreuil@ursainfosystems.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
.. image:: https://odoo-community.org/logo.png
|
||||
:alt: Odoo Community Association
|
||||
:target: https://odoo-community.org
|
||||
|
||||
This module is maintained by the OCA.
|
||||
|
||||
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.
|
||||
|
||||
To contribute to this module, please visit http://odoo-community.org.
|
||||
**This file is going to be generated by oca-gen-addon-readme.**
|
||||
|
@ -3,18 +3,24 @@
|
||||
{
|
||||
"name": "Knowledge Management System",
|
||||
"version": "11.0.1.0.0",
|
||||
"author": "OpenERP SA, MONK Software, Odoo Community Association (OCA)",
|
||||
"author": "OpenERP SA,"
|
||||
"MONK Software, "
|
||||
"Tecnativa, "
|
||||
"Odoo Community Association (OCA)",
|
||||
"category": "Knowledge",
|
||||
"license": "AGPL-3",
|
||||
"website": "https://odoo-community.org/",
|
||||
"depends": ["base"],
|
||||
"website": "https://github.com/OCA/knowledge",
|
||||
"depends": [
|
||||
"base",
|
||||
],
|
||||
"data": [
|
||||
"data/ir_module_category.xml",
|
||||
"security/knowledge_security.xml",
|
||||
"views/knowledge.xml",
|
||||
"views/res_config.xml",
|
||||
],
|
||||
"demo": ["demo/knowledge.xml"],
|
||||
"demo": [
|
||||
"demo/knowledge.xml",
|
||||
],
|
||||
"installable": True,
|
||||
"auto_install": False,
|
||||
}
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record model="ir.module.category" id="module_category_knowledge">
|
||||
<field name="name">Knowledge</field>
|
||||
<field name="description">Manage documents and knowledge-related
|
||||
applications
|
||||
</field>
|
||||
<field name="sequence">30</field>
|
||||
</record>
|
||||
<record model="ir.module.category" id="module_category_knowledge">
|
||||
<field name="name">Knowledge</field>
|
||||
<field name="description">Manage documents and knowledge-related
|
||||
applications
|
||||
</field>
|
||||
<field name="sequence">30</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="base.user_demo" model="res.users">
|
||||
<field name="groups_id" eval="[(4,ref('knowledge.group_document_user'))]"/>
|
||||
</record>
|
||||
<record id="base.user_demo" model="res.users">
|
||||
<field name="groups_id" eval="[(4,ref('knowledge.group_document_user'))]"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
7
document_knowledge/readme/CONTRIBUTORS.rst
Normal file
7
document_knowledge/readme/CONTRIBUTORS.rst
Normal file
@ -0,0 +1,7 @@
|
||||
* Odoo SA <info@odoo.com>
|
||||
* Savoir-faire Linux <support@savoirfairelinux.com>
|
||||
* Gervais Naoussi <gervaisnaoussi@gmail.com>
|
||||
* Leonardo Donelli <leonardo.donelli@monksoftware.it>
|
||||
* Maxime Chambreuil <mchambreuil@ursainfosystems.com>
|
||||
* Fayez Qandeel
|
||||
* Vicent Cubells <vicent.cubells@tecnativa.com>
|
1
document_knowledge/readme/DESCRIPTION.rst
Normal file
1
document_knowledge/readme/DESCRIPTION.rst
Normal file
@ -0,0 +1 @@
|
||||
This module is the base for any knowledge and document management application.
|
2
document_knowledge/readme/ROADMAP.rst
Normal file
2
document_knowledge/readme/ROADMAP.rst
Normal file
@ -0,0 +1,2 @@
|
||||
* Migrate related modules to v11 and add options in the settings as soon as
|
||||
they are installable.
|
3
document_knowledge/readme/USAGE.rst
Normal file
3
document_knowledge/readme/USAGE.rst
Normal file
@ -0,0 +1,3 @@
|
||||
To use this module, you need to:
|
||||
|
||||
* Go to Knowledge / Configuration / Settings
|
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="group_document_user" model="res.groups">
|
||||
<field name="name">Knowledge user</field>
|
||||
<field name="category_id" ref="module_category_knowledge"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
<record id="group_document_user" model="res.groups">
|
||||
<field name="name">Knowledge user</field>
|
||||
<field name="category_id" ref="module_category_knowledge"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
@ -1,54 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="knowledge_action_documents" model="ir.actions.act_window">
|
||||
<field name="name">Documents</field>
|
||||
<field name="res_model">ir.attachment</field>
|
||||
<field name="view_mode">kanban,tree,form</field>
|
||||
<field name="context">{'search_default_user_documents': True}</field>
|
||||
</record>
|
||||
<record id="knowledge_action_documents" model="ir.actions.act_window">
|
||||
<field name="name">Documents</field>
|
||||
<field name="res_model">ir.attachment</field>
|
||||
<field name="view_mode">kanban,tree,form</field>
|
||||
<field name="context">{'search_default_user_documents': True}</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="ir_attachment_view_user_documents" model="ir.ui.view">
|
||||
<field name="name">Documents search view: additional filters</field>
|
||||
<field name="model">ir.attachment</field>
|
||||
<field name="inherit_id" ref="base.view_attachment_search"/>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<field name="res_model"/>
|
||||
<field name="index_content"/>
|
||||
<filter name="user_documents" string="Documents"
|
||||
domain="[('res_model', 'not like', 'ir.%'), ('res_model', '!=', False)]"/>
|
||||
<group string="Group by">
|
||||
<filter name="group_model" string="Model"
|
||||
context="{'group_by': 'res_model'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
<record id="ir_attachment_view_user_documents" model="ir.ui.view">
|
||||
<field name="name">Documents search view: additional filters</field>
|
||||
<field name="model">ir.attachment</field>
|
||||
<field name="inherit_id" ref="base.view_attachment_search"/>
|
||||
<field name="arch" type="xml">
|
||||
<search>
|
||||
<field name="res_model"/>
|
||||
<field name="index_content"/>
|
||||
<filter name="user_documents" string="Documents"
|
||||
domain="[('res_model', 'not like', 'ir.%'), ('res_model', '!=', False)]"/>
|
||||
<group string="Group by">
|
||||
<filter name="group_model" string="Model"
|
||||
context="{'group_by': 'res_model'}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- Top menu item -->
|
||||
<menuitem
|
||||
id="menu_document_root"
|
||||
name="Knowledge"
|
||||
groups="base.group_system,knowledge.group_document_user"
|
||||
sequence="116"/>
|
||||
<!-- Top menu item -->
|
||||
<menuitem
|
||||
id="menu_document_root"
|
||||
name="Knowledge"
|
||||
groups="base.group_system,knowledge.group_document_user"
|
||||
sequence="116"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_document_configuration"
|
||||
name="Configuration"
|
||||
parent="menu_document_root"
|
||||
sequence="50"/>
|
||||
<menuitem
|
||||
id="menu_document_configuration"
|
||||
name="Configuration"
|
||||
parent="menu_document_root"
|
||||
sequence="50"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_document_section"
|
||||
name="Documents"
|
||||
parent="menu_document_root"/>
|
||||
<menuitem
|
||||
id="menu_document_section"
|
||||
name="Documents"
|
||||
parent="menu_document_root"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_document"
|
||||
name="Documents"
|
||||
action="knowledge_action_documents"
|
||||
parent="menu_document_section"/>
|
||||
<menuitem
|
||||
id="menu_document"
|
||||
name="Documents"
|
||||
action="knowledge_action_documents"
|
||||
parent="menu_document_section"/>
|
||||
|
||||
</odoo>
|
||||
|
@ -1,66 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_knowledge_configuration" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.knowledge</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<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" data-string="Knowledge"
|
||||
string="Knowledge" data-key="knowledge">
|
||||
<h2>Knowledge and Documents Management</h2>
|
||||
<div class="row mt16 o_settings_container"
|
||||
id="maintenance_mode_setting">
|
||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_document"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_document"/>
|
||||
</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>
|
||||
<h2>Connect with an external DMS</h2>
|
||||
<div class="row mt16 o_settings_container"
|
||||
id="maintenance_notification_setting">
|
||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_cmis_read"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_cmis_read"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_cmis_write"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_cmis_write"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_knowledge_configuration" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.knowledge</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<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" data-string="Knowledge"
|
||||
string="Knowledge" data-key="knowledge">
|
||||
<h2>Knowledge and Documents Management</h2>
|
||||
<div class="row mt16 o_settings_container"
|
||||
id="maintenance_mode_setting">
|
||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_document"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_document"/>
|
||||
</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>
|
||||
<h2>Connect with an external DMS</h2>
|
||||
<div class="row mt16 o_settings_container"
|
||||
id="maintenance_notification_setting">
|
||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_cmis_read"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_cmis_read"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_cmis_write"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_cmis_write"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
Loading…
Reference in New Issue
Block a user