[FIX] pylint/javascript-lint

This commit is contained in:
mreficent 2019-03-11 17:36:40 +01:00 committed by Khôi (Kiên Kim)
parent 8e43688530
commit ed94663711
4 changed files with 77 additions and 26 deletions

View File

@ -32,18 +32,38 @@ This module is the base for any knowledge and document management application.
.. contents:: .. contents::
:local: :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 Usage
===== =====
To use this module, you need to: This module adds a new top level menu *Knowledge*
* Go to Knowledge / Configuration / Settings Users with permission *Central access to Documents* can access in
*Knowledge/Documents* to all the documents attached to records of any model
Known issues / Roadmap for which they have read permission.
======================
* Migrate related modules to v11 and add options in the settings as soon as
they are installable.
Bug Tracker Bug Tracker
=========== ===========
@ -64,6 +84,7 @@ Authors
* OpenERP SA * OpenERP SA
* MONK Software * MONK Software
* Tecnativa * Tecnativa
* Eficent
Contributors Contributors
~~~~~~~~~~~~ ~~~~~~~~~~~~
@ -76,6 +97,7 @@ Contributors
* Fayez Qandeel * Fayez Qandeel
* Vicent Cubells <vicent.cubells@tecnativa.com> * Vicent Cubells <vicent.cubells@tecnativa.com>
* Iván Todorovich <ivan.todorovich@gmail.com> * Iván Todorovich <ivan.todorovich@gmail.com>
* Jordi Ballester <jordi.ballester@eficent.com>
Maintainers Maintainers
~~~~~~~~~~~ ~~~~~~~~~~~

View File

@ -24,6 +24,17 @@ msgstr ""
msgid "Attach files from an external DMS into Odoo" msgid "Attach files from an external DMS into Odoo"
msgstr "" 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 #. module: knowledge
#: model:ir.ui.menu,name:knowledge.menu_document_configuration #: model:ir.ui.menu,name:knowledge.menu_document_configuration
msgid "Configuration" msgid "Configuration"
@ -88,11 +99,6 @@ msgstr ""
msgid "Manage document pages (Wiki)" msgid "Manage document pages (Wiki)"
msgstr "" msgstr ""
#. module: knowledge
#: model:ir.model.fields,field_description:knowledge.field_res_config_settings_module_document
msgid "Manage documents"
msgstr ""
#. module: knowledge #. module: knowledge
#: model:ir.module.category,description:knowledge.module_category_knowledge #: model:ir.module.category,description:knowledge.module_category_knowledge
msgid "Manage documents and knowledge-related\n" msgid "Manage documents and knowledge-related\n"
@ -127,6 +133,11 @@ msgstr ""
msgid "Store attachments in an external DMS instead of the Odoo Filestore" msgid "Store attachments in an external DMS instead of the Odoo Filestore"
msgstr "" 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 #. module: knowledge
#: model:ir.model,name:knowledge.model_ir_attachment #: model:ir.model,name:knowledge.model_ir_attachment
msgid "ir.attachment" msgid "ir.attachment"

View File

@ -372,8 +372,8 @@ ul.auto-toc {
<p><strong>Table of contents</strong></p> <p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents"> <div class="contents local topic" id="contents">
<ul class="simple"> <ul class="simple">
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="id2">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> <li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> <li><a class="reference internal" href="#credits" id="id4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id5">Authors</a></li> <li><a class="reference internal" href="#authors" id="id5">Authors</a></li>
@ -383,19 +383,35 @@ ul.auto-toc {
</li> </li>
</ul> </ul>
</div> </div>
<div class="section" id="usage"> <div class="section" id="configuration">
<h1><a class="toc-backref" href="#id1">Usage</a></h1> <h1><a class="toc-backref" href="#id1">Configuration</a></h1>
<p>To use this module, you need to:</p> <p>To set up this module, you need to go to:</p>
<ul class="simple"> <ul class="simple">
<li>Go to Knowledge / Configuration / Settings</li> <li>Knowledge / Configuration / Settings</li>
</ul> </ul>
<p>From this menu youll have a central access to install the apps that belong
to Knowledge.</p>
<ul class="simple">
<li>Check <em>Attachments List and Document Indexation</em> if you want to install the
module that allows users to attach documents to any model.</li>
<li>Check <em>Manage attachments centrally</em> if you want all users to be able to
access to the all attachments to which they have read permissions, from the
menu <em>Knowledge / Documents</em></li>
</ul>
<p>If you want to grant Central Access to Documents only to some users:</p>
<ol class="arabic simple">
<li>Go to <em>Settings/Activate the developer mode</em>. Only a user with
<em>Administration / Settings</em> permissions can do that.</li>
<li>Go to <em>Settings / Users &amp; Companies / Users</em> and set the checkbox
<em>Central access to Documents</em> to the selected users.</li>
</ol>
</div> </div>
<div class="section" id="known-issues-roadmap"> <div class="section" id="usage">
<h1><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h1> <h1><a class="toc-backref" href="#id2">Usage</a></h1>
<ul class="simple"> <p>This module adds a new top level menu <em>Knowledge</em></p>
<li>Migrate related modules to v11 and add options in the settings as soon as <p>Users with permission <em>Central access to Documents</em> can access in
they are installable.</li> <em>Knowledge/Documents</em> to all the documents attached to records of any model
</ul> for which they have read permission.</p>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1> <h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
@ -413,6 +429,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>OpenERP SA</li> <li>OpenERP SA</li>
<li>MONK Software</li> <li>MONK Software</li>
<li>Tecnativa</li> <li>Tecnativa</li>
<li>Eficent</li>
</ul> </ul>
</div> </div>
<div class="section" id="contributors"> <div class="section" id="contributors">
@ -426,6 +443,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Fayez Qandeel</li> <li>Fayez Qandeel</li>
<li>Vicent Cubells &lt;<a class="reference external" href="mailto:vicent.cubells&#64;tecnativa.com">vicent.cubells&#64;tecnativa.com</a>&gt;</li> <li>Vicent Cubells &lt;<a class="reference external" href="mailto:vicent.cubells&#64;tecnativa.com">vicent.cubells&#64;tecnativa.com</a>&gt;</li>
<li>Iván Todorovich &lt;<a class="reference external" href="mailto:ivan.todorovich&#64;gmail.com">ivan.todorovich&#64;gmail.com</a>&gt;</li> <li>Iván Todorovich &lt;<a class="reference external" href="mailto:ivan.todorovich&#64;gmail.com">ivan.todorovich&#64;gmail.com</a>&gt;</li>
<li>Jordi Ballester &lt;<a class="reference external" href="mailto:jordi.ballester&#64;eficent.com">jordi.ballester&#64;eficent.com</a>&gt;</li>
</ul> </ul>
</div> </div>
<div class="section" id="maintainers"> <div class="section" id="maintainers">