-
-
Notifications
You must be signed in to change notification settings - Fork 394
[9.0] knowledge #75
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
Merged
Merged
[9.0] knowledge #75
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5426101
knowledge module added from Odoo 8.0 and ported to 9.0
naousse 21f5155
Knowledge fixed as base module for knowledge management system
naousse f18331a
Edit readme.rst and models/res_config.py to solve previous issues
naousse de6be0c
license key added in __openerp__.py
naousse 4c095cc
flake8 issues fixed in __openerp__py files and knowledge/models/res_c…
naousse c75efc4
Readme correction
naousse a42db21
License Errore Fixed
naousse d7e8410
Correction des erreurs pylint-odoo
naousse 780e1e8
Correction of Readme typo
naousse c39cfcf
correction typo
naousse 56b28d2
flake8 error fixed
naousse 325491e
readme error fixed
naousse 588adeb
additional config settings added
naousse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,4 +32,4 @@ script: | |
|
|
||
|
|
||
| after_success: | ||
| coveralls | ||
| - travis_after_tests_success | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| .. 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/9.0 | ||
|
|
||
|
|
||
| Known issues / Roadmap | ||
| ====================== | ||
|
|
||
| * Add options for other OCA extension modules as they are made available. | ||
|
|
||
| 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 | ||
| 9.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> | ||
|
|
||
| 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. | ||
|
|
||
| Changelog | ||
| --------- | ||
|
|
||
| v9.0.1.0.0 | ||
|
|
||
| This module is an official module but was not present in odoo 9.0 official repository | ||
| so we took it from Odoo 8.0 repository and add it here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| """Import of model's module.""" | ||
| # -*- coding: utf-8 -*- | ||
| ############################################################################## | ||
| # | ||
| # OpenERP, Open Source Management Solution | ||
| # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | ||
| # | ||
| # This program is free software: you can redistribute it and/or modify | ||
| # it under the terms of the GNU Affero General Public License as | ||
| # published by the Free Software Foundation, either version 3 of the | ||
| # License, or (at your option) any later version. | ||
| # | ||
| # This program is distributed in the hope that it will be useful, | ||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| # GNU Affero General Public License for more details. | ||
| # | ||
| # You should have received a copy of the GNU Affero General Public License | ||
| # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| # | ||
| ############################################################################## | ||
|
|
||
| from . import models | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # -*- coding: utf-8 -*- | ||
| ############################################################################## | ||
| # | ||
| # OpenERP, Open Source Management Solution | ||
| # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). | ||
| # | ||
| # This program is free software: you can redistribute it and/or modify | ||
| # it under the terms of the GNU Affero General Public License as | ||
| # published by the Free Software Foundation, either version 3 of the | ||
| # License, or (at your option) any later version. | ||
| # | ||
| # This program is distributed in the hope that it will be useful, | ||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| # GNU Affero General Public License for more details. | ||
| # | ||
| # You should have received a copy of the GNU Affero General Public License | ||
| # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| # | ||
| ############################################################################## | ||
| { | ||
| "name": "Knowledge Management System", | ||
| "version": "9.0.1.0.0", | ||
| "depends": ["base", "base_setup"], | ||
| "author": "OpenERP SA, Odoo Community Association (OCA)", | ||
| "category": "Hidden/Dependency", | ||
| "license": "AGPL-3", | ||
| "website": "https://www.odoo.com", | ||
| "data": [ | ||
| "security/knowledge_security.xml", | ||
| "security/ir.model.access.csv", | ||
| "views/knowledge.xml", | ||
| "views/res_config.xml", | ||
| ], | ||
| "demo": ["demo/knowledge.xml"], | ||
| "installable": True, | ||
| "auto_install": False, | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <odoo> | ||
| <data noupdate="0"> | ||
| <record id="base.user_demo" model="res.users"> | ||
| <field name="groups_id" eval="[(4,ref('base.group_document_user'))]"/> | ||
| </record> | ||
| </data> | ||
| </odoo> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * knowledge | ||
| # | ||
| # Translators: | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo 8.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2015-01-21 14:08+0000\n" | ||
| "PO-Revision-Date: 2015-05-27 09:15+0000\n" | ||
| "Last-Translator: Martin Trigaux\n" | ||
| "Language-Team: Amharic (http://www.transifex.com/odoo/odoo-8/language/am/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: am\n" | ||
| "Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Apply" | ||
| msgstr "ማመልከት" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Cancel" | ||
| msgstr "መሰረዝ" | ||
|
|
||
| #. module: knowledge | ||
| #: model:ir.ui.menu,name:knowledge.menu_document2 | ||
| msgid "Collaborative Content" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: model:ir.ui.menu,name:knowledge.menu_document_configuration | ||
| msgid "Configuration" | ||
| msgstr "ማስተካከያዎች" | ||
|
|
||
| #. module: knowledge | ||
| #: model:ir.actions.act_window,name:knowledge.action_knowledge_configuration | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Configure Knowledge" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,create_uid:0 | ||
| msgid "Created by" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,create_date:0 | ||
| msgid "Created on" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: help:knowledge.config.settings,module_document:0 | ||
| msgid "" | ||
| "Document indexation, full text search of attachements.\n" | ||
| "-This installs the module document." | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Documents" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,id:0 | ||
| msgid "ID" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: model:ir.ui.menu,name:knowledge.menu_document | ||
| #: model:ir.ui.menu,name:knowledge.menu_knowledge_configuration | ||
| msgid "Knowledge" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Knowledge and Documents Management" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,write_uid:0 | ||
| msgid "Last Updated by" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,write_date:0 | ||
| msgid "Last Updated on" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,module_document:0 | ||
| msgid "Manage documents" | ||
| msgstr "" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "or" | ||
| msgstr "ወይም" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * knowledge | ||
| # | ||
| # Translators: | ||
| # FIRST AUTHOR <EMAIL@ADDRESS>, 2014 | ||
| # Mustafa Rawi <mustafa@cubexco.com>, 2015 | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo 8.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2015-01-21 14:08+0000\n" | ||
| "PO-Revision-Date: 2015-09-12 22:29+0000\n" | ||
| "Last-Translator: Mustafa Rawi <mustafa@cubexco.com>\n" | ||
| "Language-Team: Arabic (http://www.transifex.com/odoo/odoo-8/language/ar/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: ar\n" | ||
| "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Apply" | ||
| msgstr "تطبيق" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Cancel" | ||
| msgstr "إلغاء" | ||
|
|
||
| #. module: knowledge | ||
| #: model:ir.ui.menu,name:knowledge.menu_document2 | ||
| msgid "Collaborative Content" | ||
| msgstr "المحتوى التعاوني" | ||
|
|
||
| #. module: knowledge | ||
| #: model:ir.ui.menu,name:knowledge.menu_document_configuration | ||
| msgid "Configuration" | ||
| msgstr "الإعدادات" | ||
|
|
||
| #. module: knowledge | ||
| #: model:ir.actions.act_window,name:knowledge.action_knowledge_configuration | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Configure Knowledge" | ||
| msgstr "ضبط المعرفة" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,create_uid:0 | ||
| msgid "Created by" | ||
| msgstr "أنشئ بواسطة" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,create_date:0 | ||
| msgid "Created on" | ||
| msgstr "أنشئ في" | ||
|
|
||
| #. module: knowledge | ||
| #: help:knowledge.config.settings,module_document:0 | ||
| msgid "" | ||
| "Document indexation, full text search of attachements.\n" | ||
| "-This installs the module document." | ||
| msgstr "استخراج نصوص المستندات، والبحث في كامل نصوص المرفقات.\n- سيقوم هذا بتثبيت هذا الموديول document." | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Documents" | ||
| msgstr "المستندات" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,id:0 | ||
| msgid "ID" | ||
| msgstr "المعرف" | ||
|
|
||
| #. module: knowledge | ||
| #: model:ir.ui.menu,name:knowledge.menu_document | ||
| #: model:ir.ui.menu,name:knowledge.menu_knowledge_configuration | ||
| msgid "Knowledge" | ||
| msgstr "المعرفة" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "Knowledge and Documents Management" | ||
| msgstr "المعرفة وإدارة المستندات" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,write_uid:0 | ||
| msgid "Last Updated by" | ||
| msgstr "آخر تحديث بواسطة" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,write_date:0 | ||
| msgid "Last Updated on" | ||
| msgstr "آخر تحديث في" | ||
|
|
||
| #. module: knowledge | ||
| #: field:knowledge.config.settings,module_document:0 | ||
| msgid "Manage documents" | ||
| msgstr "إدارة المستندات" | ||
|
|
||
| #. module: knowledge | ||
| #: view:knowledge.config.settings:knowledge.view_knowledge_configuration | ||
| msgid "or" | ||
| msgstr "أو" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@naousse Please remove this line, it makes Travis failed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@max3903 are you sure of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gurneyalex Not this one, but in
__openerp__.py, it does.