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
|
**This file is going to be generated by oca-gen-addon-readme.**
|
||||||
: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.
|
|
||||||
|
@ -3,18 +3,24 @@
|
|||||||
{
|
{
|
||||||
"name": "Knowledge Management System",
|
"name": "Knowledge Management System",
|
||||||
"version": "11.0.1.0.0",
|
"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",
|
"category": "Knowledge",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"website": "https://odoo-community.org/",
|
"website": "https://github.com/OCA/knowledge",
|
||||||
"depends": ["base"],
|
"depends": [
|
||||||
|
"base",
|
||||||
|
],
|
||||||
"data": [
|
"data": [
|
||||||
"data/ir_module_category.xml",
|
"data/ir_module_category.xml",
|
||||||
"security/knowledge_security.xml",
|
"security/knowledge_security.xml",
|
||||||
"views/knowledge.xml",
|
"views/knowledge.xml",
|
||||||
"views/res_config.xml",
|
"views/res_config.xml",
|
||||||
],
|
],
|
||||||
"demo": ["demo/knowledge.xml"],
|
"demo": [
|
||||||
|
"demo/knowledge.xml",
|
||||||
|
],
|
||||||
"installable": True,
|
"installable": True,
|
||||||
"auto_install": False,
|
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record model="ir.module.category" id="module_category_knowledge">
|
<record model="ir.module.category" id="module_category_knowledge">
|
||||||
<field name="name">Knowledge</field>
|
<field name="name">Knowledge</field>
|
||||||
<field name="description">Manage documents and knowledge-related
|
<field name="description">Manage documents and knowledge-related
|
||||||
applications
|
applications
|
||||||
</field>
|
</field>
|
||||||
<field name="sequence">30</field>
|
<field name="sequence">30</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo noupdate="1">
|
<odoo noupdate="1">
|
||||||
|
|
||||||
<record id="base.user_demo" model="res.users">
|
<record id="base.user_demo" model="res.users">
|
||||||
<field name="groups_id" eval="[(4,ref('knowledge.group_document_user'))]"/>
|
<field name="groups_id" eval="[(4,ref('knowledge.group_document_user'))]"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</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"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="group_document_user" model="res.groups">
|
<record id="group_document_user" model="res.groups">
|
||||||
<field name="name">Knowledge user</field>
|
<field name="name">Knowledge user</field>
|
||||||
<field name="category_id" ref="module_category_knowledge"/>
|
<field name="category_id" ref="module_category_knowledge"/>
|
||||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,54 +1,54 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="knowledge_action_documents" model="ir.actions.act_window">
|
<record id="knowledge_action_documents" model="ir.actions.act_window">
|
||||||
<field name="name">Documents</field>
|
<field name="name">Documents</field>
|
||||||
<field name="res_model">ir.attachment</field>
|
<field name="res_model">ir.attachment</field>
|
||||||
<field name="view_mode">kanban,tree,form</field>
|
<field name="view_mode">kanban,tree,form</field>
|
||||||
<field name="context">{'search_default_user_documents': True}</field>
|
<field name="context">{'search_default_user_documents': True}</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
<record id="ir_attachment_view_user_documents" model="ir.ui.view">
|
<record id="ir_attachment_view_user_documents" model="ir.ui.view">
|
||||||
<field name="name">Documents search view: additional filters</field>
|
<field name="name">Documents search view: additional filters</field>
|
||||||
<field name="model">ir.attachment</field>
|
<field name="model">ir.attachment</field>
|
||||||
<field name="inherit_id" ref="base.view_attachment_search"/>
|
<field name="inherit_id" ref="base.view_attachment_search"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<search>
|
<search>
|
||||||
<field name="res_model"/>
|
<field name="res_model"/>
|
||||||
<field name="index_content"/>
|
<field name="index_content"/>
|
||||||
<filter name="user_documents" string="Documents"
|
<filter name="user_documents" string="Documents"
|
||||||
domain="[('res_model', 'not like', 'ir.%'), ('res_model', '!=', False)]"/>
|
domain="[('res_model', 'not like', 'ir.%'), ('res_model', '!=', False)]"/>
|
||||||
<group string="Group by">
|
<group string="Group by">
|
||||||
<filter name="group_model" string="Model"
|
<filter name="group_model" string="Model"
|
||||||
context="{'group_by': 'res_model'}"/>
|
context="{'group_by': 'res_model'}"/>
|
||||||
</group>
|
</group>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- Top menu item -->
|
<!-- Top menu item -->
|
||||||
<menuitem
|
<menuitem
|
||||||
id="menu_document_root"
|
id="menu_document_root"
|
||||||
name="Knowledge"
|
name="Knowledge"
|
||||||
groups="base.group_system,knowledge.group_document_user"
|
groups="base.group_system,knowledge.group_document_user"
|
||||||
sequence="116"/>
|
sequence="116"/>
|
||||||
|
|
||||||
<menuitem
|
<menuitem
|
||||||
id="menu_document_configuration"
|
id="menu_document_configuration"
|
||||||
name="Configuration"
|
name="Configuration"
|
||||||
parent="menu_document_root"
|
parent="menu_document_root"
|
||||||
sequence="50"/>
|
sequence="50"/>
|
||||||
|
|
||||||
<menuitem
|
<menuitem
|
||||||
id="menu_document_section"
|
id="menu_document_section"
|
||||||
name="Documents"
|
name="Documents"
|
||||||
parent="menu_document_root"/>
|
parent="menu_document_root"/>
|
||||||
|
|
||||||
<menuitem
|
<menuitem
|
||||||
id="menu_document"
|
id="menu_document"
|
||||||
name="Documents"
|
name="Documents"
|
||||||
action="knowledge_action_documents"
|
action="knowledge_action_documents"
|
||||||
parent="menu_document_section"/>
|
parent="menu_document_section"/>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -1,66 +1,66 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="view_knowledge_configuration" model="ir.ui.view">
|
<record id="view_knowledge_configuration" model="ir.ui.view">
|
||||||
<field name="name">res.config.settings.view.form.inherit.knowledge</field>
|
<field name="name">res.config.settings.view.form.inherit.knowledge</field>
|
||||||
<field name="model">res.config.settings</field>
|
<field name="model">res.config.settings</field>
|
||||||
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
|
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
|
||||||
<field name="priority" eval="90"/>
|
<field name="priority" eval="90"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//div[hasclass('settings')]" position="inside">
|
<xpath expr="//div[hasclass('settings')]" position="inside">
|
||||||
<div class="app_settings_block" data-string="Knowledge"
|
<div class="app_settings_block" data-string="Knowledge"
|
||||||
string="Knowledge" data-key="knowledge">
|
string="Knowledge" data-key="knowledge">
|
||||||
<h2>Knowledge and Documents Management</h2>
|
<h2>Knowledge and Documents Management</h2>
|
||||||
<div class="row mt16 o_settings_container"
|
<div class="row mt16 o_settings_container"
|
||||||
id="maintenance_mode_setting">
|
id="maintenance_mode_setting">
|
||||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||||
<div class="o_setting_left_pane">
|
<div class="o_setting_left_pane">
|
||||||
<field name="module_document"/>
|
<field name="module_document"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_setting_right_pane">
|
<div class="o_setting_right_pane">
|
||||||
<label for="module_document"/>
|
<label for="module_document"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||||
<div class="o_setting_left_pane">
|
<div class="o_setting_left_pane">
|
||||||
<field name="module_document_page"/>
|
<field name="module_document_page"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_setting_right_pane">
|
<div class="o_setting_right_pane">
|
||||||
<label for="module_document_page"/>
|
<label for="module_document_page"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||||
<div class="o_setting_left_pane">
|
<div class="o_setting_left_pane">
|
||||||
<field name="module_document_page_approval"/>
|
<field name="module_document_page_approval"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_setting_right_pane">
|
<div class="o_setting_right_pane">
|
||||||
<label for="module_document_page_approval"/>
|
<label for="module_document_page_approval"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h2>Connect with an external DMS</h2>
|
<h2>Connect with an external DMS</h2>
|
||||||
<div class="row mt16 o_settings_container"
|
<div class="row mt16 o_settings_container"
|
||||||
id="maintenance_notification_setting">
|
id="maintenance_notification_setting">
|
||||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||||
<div class="o_setting_left_pane">
|
<div class="o_setting_left_pane">
|
||||||
<field name="module_cmis_read"/>
|
<field name="module_cmis_read"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_setting_right_pane">
|
<div class="o_setting_right_pane">
|
||||||
<label for="module_cmis_read"/>
|
<label for="module_cmis_read"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-md-12 o_setting_box">
|
<div class="col-xs-12 col-md-12 o_setting_box">
|
||||||
<div class="o_setting_left_pane">
|
<div class="o_setting_left_pane">
|
||||||
<field name="module_cmis_write"/>
|
<field name="module_cmis_write"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="o_setting_right_pane">
|
<div class="o_setting_right_pane">
|
||||||
<label for="module_cmis_write"/>
|
<label for="module_cmis_write"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user