From ed946637113f4fcdd3d5b200e40d7f1b618999dd Mon Sep 17 00:00:00 2001 From: mreficent Date: Mon, 11 Mar 2019 17:36:40 +0100 Subject: [PATCH] [FIX] pylint/javascript-lint --- document_knowledge/README.rst | 38 +++++++++++++---- document_knowledge/i18n/knowledge.pot | 21 +++++++--- document_knowledge/readme/CONFIGURE.rst | 2 +- .../static/description/index.html | 42 +++++++++++++------ 4 files changed, 77 insertions(+), 26 deletions(-) diff --git a/document_knowledge/README.rst b/document_knowledge/README.rst index 53925ea9..cd253b9c 100644 --- a/document_knowledge/README.rst +++ b/document_knowledge/README.rst @@ -32,18 +32,38 @@ This module is the base for any knowledge and document management application. .. 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: + +#. Go to *Settings/Activate the developer mode*. Only a user with + *Administration / Settings* permissions can do that. + +#. Go to *Settings / Users & Companies / Users* and set the checkbox + *Central access to Documents* to the selected users. + Usage ===== -To use this module, you need to: +This module adds a new top level menu *Knowledge* -* Go to Knowledge / Configuration / Settings - -Known issues / Roadmap -====================== - -* Migrate related modules to v11 and add options in the settings as soon as - they are installable. +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 =========== @@ -64,6 +84,7 @@ Authors * OpenERP SA * MONK Software * Tecnativa +* Eficent Contributors ~~~~~~~~~~~~ @@ -76,6 +97,7 @@ Contributors * Fayez Qandeel * Vicent Cubells * Iván Todorovich +* Jordi Ballester Maintainers ~~~~~~~~~~~ diff --git a/document_knowledge/i18n/knowledge.pot b/document_knowledge/i18n/knowledge.pot index bf7e6576..710e4535 100644 --- a/document_knowledge/i18n/knowledge.pot +++ b/document_knowledge/i18n/knowledge.pot @@ -24,6 +24,17 @@ msgstr "" msgid "Attach files from an external DMS into Odoo" msgstr "" +#. module: knowledge +#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document +msgid "Attachments List and Document Indexation" +msgstr "" + +#. module: knowledge +#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_group_ir_attachment_user +#: model:res.groups,name:knowledge.group_ir_attachment_user +msgid "Central access to Documents" +msgstr "" + #. module: knowledge #: model:ir.ui.menu,name:knowledge.menu_document_configuration msgid "Configuration" @@ -88,11 +99,6 @@ msgstr "" msgid "Manage document pages (Wiki)" msgstr "" -#. module: knowledge -#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document -msgid "Manage documents" -msgstr "" - #. module: knowledge #: model:ir.module.category,description:knowledge.module_category_knowledge msgid "Manage documents and knowledge-related\n" @@ -127,6 +133,11 @@ msgstr "" msgid "Store attachments in an external DMS instead of the Odoo Filestore" msgstr "" +#. module: knowledge +#: model:ir.model.fields,help: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 Knowledge/Documents menu." +msgstr "" + #. module: knowledge #: model:ir.model,name:knowledge.model_ir_attachment msgid "ir.attachment" diff --git a/document_knowledge/readme/CONFIGURE.rst b/document_knowledge/readme/CONFIGURE.rst index c6ba45a7..ff972422 100644 --- a/document_knowledge/readme/CONFIGURE.rst +++ b/document_knowledge/readme/CONFIGURE.rst @@ -14,7 +14,7 @@ to Knowledge. If you want to grant Central Access to Documents only to some users: #. Go to *Settings/Activate the developer mode*. Only a user with - *Administration / Settings* permissions can do that. + *Administration / Settings* permissions can do that. #. Go to *Settings / Users & Companies / Users* and set the checkbox *Central access to Documents* to the selected users. diff --git a/document_knowledge/static/description/index.html b/document_knowledge/static/description/index.html index 7fa7c213..00548267 100644 --- a/document_knowledge/static/description/index.html +++ b/document_knowledge/static/description/index.html @@ -372,8 +372,8 @@ ul.auto-toc {

Table of contents

-
-

Usage

-

To use this module, you need to:

+
+

Configuration

+

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

    -
  • Go to Knowledge / Configuration / Settings
  • +
  • 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. +
  3. Go to Settings / Users & Companies / Users and set the checkbox +Central access to Documents to the selected users.
  4. +
-
-

Known issues / Roadmap

-
    -
  • Migrate related modules to v11 and add options in the settings as soon as -they are installable.
  • -
+
+

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

@@ -413,6 +429,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • OpenERP SA
  • MONK Software
  • Tecnativa
  • +
  • Eficent
  • @@ -426,6 +443,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • Fayez Qandeel
  • Vicent Cubells <vicent.cubells@tecnativa.com>
  • Iván Todorovich <ivan.todorovich@gmail.com>
  • +
  • Jordi Ballester <jordi.ballester@eficent.com>