Skip to content

Commit

Permalink
[imp] precommit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Dec 21, 2023
1 parent b731e46 commit 5ccea2e
Show file tree
Hide file tree
Showing 15 changed files with 95 additions and 164 deletions.
79 changes: 40 additions & 39 deletions document_knowledge/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ Documents Knowledge
: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/16.0/document_knowledge
:target: https://github.com/OCA/knowledge/tree/17.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-16-0/knowledge-16-0-document_knowledge
:target: https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-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=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/knowledge&target_branch=17.0
:alt: Try me on Runboat

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

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

**Table of contents**

Expand All @@ -40,23 +41,23 @@ Configuration

To set up this module, you need 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.
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*
- 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
1. 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
2. Go to *Settings / Users & Companies / Users* and set the checkbox
*Central access to Documents* to the selected users.

Usage
Expand All @@ -65,60 +66,60 @@ 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.
*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:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/knowledge/issues/new?body=module:%20document_knowledge%0Aversion:%2017.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
------------

- 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]>
- Dung Tran <[email protected]>

Other credits
~~~~~~~~~~~~~
-------------

The development of this module has been financially supported by:

* Camptocamp
- Camptocamp

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -130,6 +131,6 @@ 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/16.0/document_knowledge>`_ project on GitHub.
This module is part of the `OCA/knowledge <https://github.com/OCA/knowledge/tree/17.0/document_knowledge>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
20 changes: 0 additions & 20 deletions document_knowledge/readme/CONFIGURE.rst

This file was deleted.

17 changes: 0 additions & 17 deletions document_knowledge/readme/CONTRIBUTORS.rst

This file was deleted.

3 changes: 0 additions & 3 deletions document_knowledge/readme/CREDITS.rst

This file was deleted.

1 change: 0 additions & 1 deletion document_knowledge/readme/DESCRIPTION.rst

This file was deleted.

5 changes: 0 additions & 5 deletions document_knowledge/readme/USAGE.rst

This file was deleted.

28 changes: 15 additions & 13 deletions document_knowledge/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,9 @@ <h1 class="title">Documents Knowledge</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c1488375286777cfdb9187452f29e3f8a28157ba0f11fa21061916703e669afc
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/knowledge/tree/16.0/document_knowledge"><img alt="OCA/knowledge" src="https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_knowledge"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/knowledge&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module is the base for any knowledge and document management application.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/knowledge/tree/17.0/document_knowledge"><img alt="OCA/knowledge" src="https://img.shields.io/badge/github-OCA%2Fknowledge-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-document_knowledge"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/knowledge&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module is the base for any knowledge and document management
application.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -392,14 +393,15 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<ul class="simple">
<li>Knowledge / Configuration / Settings</li>
</ul>
<p>From this menu you’ll have a central access to install the apps that belong
to Knowledge.</p>
<p>From this menu you’ll 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>
<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">
Expand All @@ -413,15 +415,15 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>This module adds a new top level menu <em>Knowledge</em></p>
<p>Users with permission <em>Central access to Documents</em> can access in
<em>Knowledge/Documents</em> to all the documents attached to records of any model
for which they have read permission.</p>
<em>Knowledge/Documents</em> to all the documents attached to records of any
model for which they have read permission.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/knowledge/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/knowledge/issues/new?body=module:%20document_knowledge%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/knowledge/issues/new?body=module:%20document_knowledge%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -472,7 +474,7 @@ <h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/knowledge/tree/16.0/document_knowledge">OCA/knowledge</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/knowledge/tree/17.0/document_knowledge">OCA/knowledge</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
60 changes: 31 additions & 29 deletions document_page/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Document Page
: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/16.0/document_page
:target: https://github.com/OCA/knowledge/tree/17.0/document_page
:alt: OCA/knowledge
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/knowledge-16-0/knowledge-16-0-document_page
:target: https://translation.odoo-community.org/projects/knowledge-17-0/knowledge-17-0-document_page
: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=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/knowledge&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
Expand All @@ -38,7 +38,8 @@ This module allows you to write web pages for internal documentation.
Installation
============

This module depends on module knowledge. So make sure to have it in your addons list.
This module depends on module knowledge. So make sure to have it in your
addons list.

Configuration
=============
Expand All @@ -50,61 +51,62 @@ Usage

To use this module, you need to:

* Go to Knowledge menu
* Click on Categories to create the document's category you need with the template
* Click on Pages to create pages and select the previous category to use the template
- Go to Knowledge menu
- Click on Categories to create the document's category you need with
the template
- Click on Pages to create pages and select the previous category to
use the template

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_page%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/knowledge/issues/new?body=module:%20document_page%0Aversion:%2017.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

Contributors
~~~~~~~~~~~~
------------

* Gervais Naoussi <[email protected]>
* Maxime Chambreuil <[email protected]>
* Iván Todorovich <[email protected]>
* Jose Maria Alzaga <[email protected]>
* Lois Rilo <[email protected]>
* Simone Orsi <[email protected]>
* `Tecnativa <https://www.tecnativa.com>`_:
- Gervais Naoussi <[email protected]>
- Maxime Chambreuil <[email protected]>
- Iván Todorovich <[email protected]>
- Jose Maria Alzaga <[email protected]>
- Lois Rilo <[email protected]>
- Simone Orsi <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__:

* Ernesto Tejeda
* Víctor Martínez
- Ernesto Tejeda
- Víctor Martínez

Trobz

* Dung Tran <[email protected]>
- Dung Tran <[email protected]>
- `Sygel <https://www.sygel.es>`__:

* `Sygel <https://www.sygel.es>`_:

* Ángel García de la Chica Herrera
- Ángel García de la Chica Herrera

Other credits
~~~~~~~~~~~~~
-------------

The development of this module has been financially supported by:

* Odoo SA <http://www.odoo.com>
* Savoir-faire Linux <http://www.savoirfairelinux.com>
* Camptocamp
- Odoo SA <http://www.odoo.com>
- Savoir-faire Linux <http://www.savoirfairelinux.com>
- Camptocamp

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -116,6 +118,6 @@ 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/16.0/document_page>`_ project on GitHub.
This module is part of the `OCA/knowledge <https://github.com/OCA/knowledge/tree/17.0/document_page>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 0 additions & 1 deletion document_page/readme/CONFIGURE.rst

This file was deleted.

Loading

0 comments on commit 5ccea2e

Please sign in to comment.