Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] document_knowledge: Migration to 18.0 #503

Merged
merged 46 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
73c9ff5
knowledge module added from Odoo 8.0 and ported to 9.0
naousse Oct 22, 2015
820e6f5
Add CMIS modules to Settings
Jan 27, 2016
a94f7e0
Port to v10
LeartS Dec 22, 2016
4e36cf5
[FIX] knowledge: Several things
Jan 5, 2017
00910d8
knowledge: migrations scripts
MiquelRForgeFlow Jul 6, 2017
e543e74
knowledge: Migration to 11.0
fayezqandeel Dec 19, 2017
8282ed4
[MIG] knowledge: Complete migration
cubells Jun 19, 2018
94db74e
[IMP] knowledge: add missing menus
cubells Jun 20, 2018
62a7635
Translated using Weblate (Portuguese (Brazil))
Jun 20, 2018
70f98d3
[FIX] remove the set and get values in res.config
nicomacr Aug 24, 2018
e28349c
Fixing items' link error.
SalahAdDin Sep 10, 2018
37e8982
Enterprise-like icon
ivantodorovich Jan 15, 2018
f3d2e81
[knowledge] Consider the module as a fully-fledge application
ivantodorovich Sep 14, 2018
94e2ef7
Add icon svg master file
ivantodorovich Sep 15, 2018
6fac641
Update translation files
oca-transbot Dec 9, 2018
8e43688
[knowledge][11.0.3.0.0] - add security for access to ir.attachment.
JordiBForgeFlow Feb 28, 2019
ed94663
[FIX] pylint/javascript-lint
MiquelRForgeFlow Mar 11, 2019
410538b
[MIG] knowledge: Migration to 12.0
MiquelRForgeFlow Mar 12, 2019
852e7f4
Update translation files
oca-transbot Mar 17, 2019
49b26cb
Translated using Weblate (French)
svalaeys Aug 1, 2019
317a62f
[IMP] knowledge: black, isort
ernestotejeda Nov 5, 2019
8044c75
[MIG] knowledge: Migration to 13.0
ernestotejeda Nov 6, 2019
2a381f0
Update translation files
oca-transbot Jan 31, 2020
1decaea
pre-commit update
OCA-git-bot Mar 14, 2020
12e34f9
[13.0][FIX] round icon
Mar 27, 2020
ba66142
knowledge 13.0.1.0.1
OCA-git-bot Mar 27, 2020
853cb50
Added translation using Weblate (Hebrew)
ygol Oct 13, 2020
d02f74c
Translated using Weblate (Hebrew)
ygol Oct 13, 2020
efb5c63
Update translation files
oca-transbot Nov 22, 2020
a46fc93
Translated using Weblate (Russian)
SergePogorelov Feb 12, 2021
1d2f657
[MIG] knowledge: Migration to 14.0
dzungtran89 Feb 22, 2021
9e173a0
[MIG] knowledge: Migration to 15.0
jacob88 Oct 29, 2021
63e1248
[FIX] knowledge: The internal user group is added as an inheritance t…
victoralmau Mar 2, 2022
d1bd794
knowledge 15.0.1.0.1
OCA-git-bot Mar 25, 2022
2300980
Translated using Weblate (Turkish)
tate11 Apr 8, 2022
b141e39
Translated using Weblate (French)
vincent-hatakeyama Sep 29, 2022
3e1dce8
[MIG] knowledge: Migration to 16.0
marielejeune Oct 19, 2022
a13425e
[CHG] module name: knowledge -> document_knowledge
marielejeune Oct 19, 2022
c5e1903
[16.0][FIX] document_knowledge: Error in data-key res_config
weblate Dec 13, 2022
2c2e1fb
[IMP] document_knowledge: pre-commit auto fixes
m1k3lm Jan 31, 2024
24447ee
[MIG] document_knowledge: Migration to 17.0
m1k3lm Dec 21, 2023
adf3c6f
Translated using Weblate (Swedish)
jakobkrabbe Jun 5, 2024
27e9978
Translated using Weblate (Catalan)
esteveblanch Sep 4, 2024
154fcbd
[IMP] document_knowleadge: pre-commit auto fixes
Kimkhoi3010 Oct 29, 2024
9cc5acb
[ADD] - checklog-odoo.cfg
Kimkhoi3010 Nov 8, 2024
f82dce4
[MIG] document_knowledge: Migration to 18.0
Kimkhoi3010 Oct 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions checklog-odoo.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[checklog-odoo]
ignore=
WARNING.*0 failed, 0 error\(s\).*
138 changes: 138 additions & 0 deletions document_knowledge/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
===================
Documents Knowledge
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4a24d3128856eb41c683a5a115aa5933ed495bc5efd0832da27c4cefae44c03b
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github
:target: https://github.com/OCA/knowledge/tree/18.0/document_knowledge
:alt: OCA/knowledge
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/knowledge-18-0/knowledge-18-0-document_knowledge
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/knowledge&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module is the base for any knowledge and document management
application.

**Table of contents**

.. contents::
:local:

Configuration
=============

To set up this module, you need to go to:

- Knowledge / Configuration / Settings

From this menu you'll have a central access to install the apps that
belong to Knowledge.

- Check *Attachments List and Document Indexation* if you want to
install the module that allows users to attach documents to any
model.
- Check *Manage attachments centrally* if you want all users to be able
to access to the all attachments to which they have read permissions,
from the menu *Knowledge / Documents*

If you want to grant Central Access to Documents only to some users:

1. Go to *Settings/Activate the developer mode*. Only a user with
*Administration / Settings* permissions can do that.
2. Go to *Settings / Users & Companies / Users* and set the checkbox
*Central access to Documents* to the selected users.

Usage
=====

This module adds a new top level menu *Knowledge*

Users with permission *Central access to Documents* can access in
*Knowledge/Documents* to all the documents attached to records of any
model for which they have read permission.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/knowledge/issues/new?body=module:%20document_knowledge%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* OpenERP SA
* MONK Software
* Tecnativa
* ForgeFlow

Contributors
------------

- Odoo SA <[email protected]>
- Savoir-faire Linux <[email protected]>
- Gervais Naoussi <[email protected]>
- Leonardo Donelli <[email protected]>
- Maxime Chambreuil <[email protected]>
- Fayez Qandeel
- Iván Todorovich <[email protected]>
- Jordi Ballester <[email protected]>
- Marie Lejeune <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__:

- Vicent Cubells
- Ernesto Tejeda

Trobz

- Dung Tran <[email protected]>
- Khoi (Kien Kim) [email protected]

Other credits
-------------

The migration of this module from 17.0 to 18.0 was financially supported
by:

- Camptocamp

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/knowledge <https://github.com/OCA/knowledge/tree/18.0/document_knowledge>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions document_knowledge/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
25 changes: 25 additions & 0 deletions document_knowledge/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Documents Knowledge",
"version": "18.0.1.0.0",
"author": "OpenERP SA,"
"MONK Software, "
"Tecnativa, "
"ForgeFlow, "
"Odoo Community Association (OCA)",
"category": "Knowledge",
"license": "AGPL-3",
"website": "https://github.com/OCA/knowledge",
"depends": ["base"],
"data": [
"data/ir_module_category.xml",
"security/document_knowledge_security.xml",
"data/res_users.xml",
"views/document_knowledge.xml",
"views/res_config.xml",
],
"demo": ["demo/document_knowledge.xml"],
"installable": True,
"application": True,
}
10 changes: 10 additions & 0 deletions document_knowledge/data/ir_module_category.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record model="ir.module.category" id="module_category_knowledge">
<field name="name">Documents Knowledge</field>
<field name="description">Manage documents and knowledge-related
applications
</field>
<field name="sequence">30</field>
</record>
</odoo>
9 changes: 9 additions & 0 deletions document_knowledge/data/res_users.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="base.user_admin" model="res.users">
<field
name="groups_id"
eval="[(4,ref('document_knowledge.group_document_user'))]"
/>
</record>
</odoo>
9 changes: 9 additions & 0 deletions document_knowledge/demo/document_knowledge.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?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('document_knowledge.group_document_user'))]"
/>
</record>
</odoo>
166 changes: 166 additions & 0 deletions document_knowledge/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * knowledge
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: knowledge (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-08-13 13:00+0000\n"
"PO-Revision-Date: 2016-09-09 12:26+0000\n"
"Last-Translator: OCA Transbot <[email protected]>\n"
"Language-Team: Amharic (http://www.transifex.com/oca/OCA-knowledge-9-0/"
"language/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: document_knowledge
#: model:ir.model.fields,help:document_knowledge.field_res_config_settings__module_document_page_approval
msgid ""
"Add workflow on documents per category.\n"
"- This installs the module document_page_approval."
msgstr ""

#. module: document_knowledge
#: model:ir.model,name:document_knowledge.model_ir_attachment
msgid "Attachment"
msgstr ""

#. module: document_knowledge
#: model:ir.model.fields,field_description:document_knowledge.field_res_config_settings__module_attachment_indexation
msgid "Attachments List and Document Indexation"
msgstr ""

#. module: document_knowledge
#: model:ir.model.fields,field_description:document_knowledge.field_res_config_settings__group_ir_attachment_user
#: model:res.groups,name:document_knowledge.group_ir_attachment_user
msgid "Central access to Documents"
msgstr ""

#. module: document_knowledge
#: model:ir.model,name:document_knowledge.model_res_config_settings
#, fuzzy
msgid "Config Settings"
msgstr "ማስተካከያዎች"

#. module: document_knowledge
#: model:ir.ui.menu,name:document_knowledge.menu_document_configuration
msgid "Configuration"
msgstr "ማስተካከያዎች"

#. module: document_knowledge
#: model:res.groups,name:document_knowledge.group_document_user
msgid "Document Knowledge user"
msgstr ""

#. module: document_knowledge
#: model:ir.model.fields,help:document_knowledge.field_res_config_settings__module_attachment_indexation
msgid ""
"Document indexation, full text search of attachements.\n"
"- This installs the module attachment_indexation."
msgstr ""

#. module: document_knowledge
#: model:ir.actions.act_window,name:document_knowledge.knowledge_action_documents
#: model:ir.ui.menu,name:document_knowledge.menu_document
#: model:ir.ui.menu,name:document_knowledge.menu_document_section
#: model_terms:ir.ui.view,arch_db:document_knowledge.ir_attachment_view_user_documents
msgid "Documents"
msgstr ""

#. module: document_knowledge
#: model:ir.module.category,name:document_knowledge.module_category_knowledge
msgid "Documents Knowledge"
msgstr ""

#. module: document_knowledge
#: model_terms:ir.ui.view,arch_db:document_knowledge.ir_attachment_view_user_documents
msgid "Group by"
msgstr ""

#. module: document_knowledge
#: model:ir.ui.menu,name:document_knowledge.menu_document_root
#: model_terms:ir.ui.view,arch_db:document_knowledge.view_knowledge_configuration
msgid "Knowledge"
msgstr ""

#. module: document_knowledge
#: model_terms:ir.ui.view,arch_db:document_knowledge.view_knowledge_configuration
msgid "Knowledge and Documents Management"
msgstr ""

#. module: document_knowledge
#: model:ir.model.fields,field_description:document_knowledge.field_res_config_settings__module_document_page
msgid "Manage document pages (Wiki)"
msgstr ""

#. module: document_knowledge
#: model:ir.module.category,description:document_knowledge.module_category_knowledge
msgid ""
"Manage documents and knowledge-related\n"
" applications\n"
" "
msgstr ""

#. module: document_knowledge
#: model:ir.model.fields,field_description:document_knowledge.field_res_config_settings__module_document_page_approval
msgid "Manage documents approval"
msgstr ""

#. module: document_knowledge
#: model_terms:ir.ui.view,arch_db:document_knowledge.ir_attachment_view_user_documents
msgid "Model"
msgstr ""

#. module: document_knowledge
#: model:ir.model.fields,help:document_knowledge.field_res_config_settings__module_document_page
msgid ""
"Provide document page and category as a wiki.\n"
"- This installs the module document_page."
msgstr ""

#. module: document_knowledge
#: model:ir.model.fields,field_description:document_knowledge.field_ir_attachment__res_model
msgid "Resource Model"
msgstr ""

#. module: document_knowledge
#: model:ir.actions.act_window,name:document_knowledge.action_knowledge_configuration
#: model:ir.ui.menu,name:document_knowledge.menu_knowledge_configuration
msgid "Settings"
msgstr ""

#. module: document_knowledge
#: model:ir.model.fields,help:document_knowledge.field_res_config_settings__group_ir_attachment_user
msgid ""
"When you set this field all users will be able to manage attachments "
"centrally, from the Document Knowledge/Documents menu."
msgstr ""

#~ msgid "Apply"
#~ msgstr "ማመልከት"

#~ msgid "Cancel"
#~ msgstr "መሰረዝ"

#~ msgid "Created by"
#~ msgstr "Creado por"

#~ msgid "Created on"
#~ msgstr "Creado en"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Updated by"
#~ msgstr "Última actualización por"

#~ msgid "Last Updated on"
#~ msgstr "Última actualización en"

#~ msgid "or"
#~ msgstr "ወይም"
Loading
Loading