From 5ccea2ea1dab243cd5e6a580b35c6c2bc6daf1c5 Mon Sep 17 00:00:00 2001 From: Mikel Date: Thu, 21 Dec 2023 16:55:43 +0100 Subject: [PATCH] [imp] precommit fixes --- document_knowledge/README.rst | 79 ++++++++++--------- document_knowledge/readme/CONFIGURE.rst | 20 ----- document_knowledge/readme/CONTRIBUTORS.rst | 17 ---- document_knowledge/readme/CREDITS.rst | 3 - document_knowledge/readme/DESCRIPTION.rst | 1 - document_knowledge/readme/USAGE.rst | 5 -- .../static/description/index.html | 28 ++++--- document_page/README.rst | 60 +++++++------- document_page/readme/CONFIGURE.rst | 1 - document_page/readme/CONTRIBUTORS.rst | 18 ----- document_page/readme/CREDITS.rst | 5 -- document_page/readme/DESCRIPTION.rst | 1 - document_page/readme/INSTALL.rst | 1 - document_page/readme/USAGE.rst | 5 -- document_page/static/description/index.html | 15 ++-- 15 files changed, 95 insertions(+), 164 deletions(-) delete mode 100644 document_knowledge/readme/CONFIGURE.rst delete mode 100644 document_knowledge/readme/CONTRIBUTORS.rst delete mode 100644 document_knowledge/readme/CREDITS.rst delete mode 100644 document_knowledge/readme/DESCRIPTION.rst delete mode 100644 document_knowledge/readme/USAGE.rst delete mode 100644 document_page/readme/CONFIGURE.rst delete mode 100644 document_page/readme/CONTRIBUTORS.rst delete mode 100644 document_page/readme/CREDITS.rst delete mode 100644 document_page/readme/DESCRIPTION.rst delete mode 100644 document_page/readme/INSTALL.rst delete mode 100644 document_page/readme/USAGE.rst diff --git a/document_knowledge/README.rst b/document_knowledge/README.rst index 61ffd821543..9b8a35febc7 100644 --- a/document_knowledge/README.rst +++ b/document_knowledge/README.rst @@ -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** @@ -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 @@ -65,8 +66,8 @@ 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 =========== @@ -74,7 +75,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -82,7 +83,7 @@ Credits ======= Authors -~~~~~~~ +------- * OpenERP SA * MONK Software @@ -90,35 +91,35 @@ Authors * ForgeFlow Contributors -~~~~~~~~~~~~ - -* Odoo SA -* Savoir-faire Linux -* Gervais Naoussi -* Leonardo Donelli -* Maxime Chambreuil -* Fayez Qandeel -* Iván Todorovich -* Jordi Ballester -* Marie Lejeune -* `Tecnativa `_: - - * Vicent Cubells - * Ernesto Tejeda +------------ + +- Odoo SA +- Savoir-faire Linux +- Gervais Naoussi +- Leonardo Donelli +- Maxime Chambreuil +- Fayez Qandeel +- Iván Todorovich +- Jordi Ballester +- Marie Lejeune +- `Tecnativa `__: + + - Vicent Cubells + - Ernesto Tejeda Trobz -* Dung Tran +- Dung Tran Other credits -~~~~~~~~~~~~~ +------------- The development of this module has been financially supported by: -* Camptocamp +- Camptocamp Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -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 `_ project on GitHub. +This module is part of the `OCA/knowledge `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/document_knowledge/readme/CONFIGURE.rst b/document_knowledge/readme/CONFIGURE.rst deleted file mode 100644 index ff97242250b..00000000000 --- a/document_knowledge/readme/CONFIGURE.rst +++ /dev/null @@ -1,20 +0,0 @@ -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. diff --git a/document_knowledge/readme/CONTRIBUTORS.rst b/document_knowledge/readme/CONTRIBUTORS.rst deleted file mode 100644 index 13813346018..00000000000 --- a/document_knowledge/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,17 +0,0 @@ -* Odoo SA -* Savoir-faire Linux -* Gervais Naoussi -* Leonardo Donelli -* Maxime Chambreuil -* Fayez Qandeel -* Iván Todorovich -* Jordi Ballester -* Marie Lejeune -* `Tecnativa `_: - - * Vicent Cubells - * Ernesto Tejeda - -Trobz - -* Dung Tran diff --git a/document_knowledge/readme/CREDITS.rst b/document_knowledge/readme/CREDITS.rst deleted file mode 100644 index f5cc070c78e..00000000000 --- a/document_knowledge/readme/CREDITS.rst +++ /dev/null @@ -1,3 +0,0 @@ -The development of this module has been financially supported by: - -* Camptocamp diff --git a/document_knowledge/readme/DESCRIPTION.rst b/document_knowledge/readme/DESCRIPTION.rst deleted file mode 100644 index 6c4996bc3a7..00000000000 --- a/document_knowledge/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -This module is the base for any knowledge and document management application. diff --git a/document_knowledge/readme/USAGE.rst b/document_knowledge/readme/USAGE.rst deleted file mode 100644 index 328eb25e914..00000000000 --- a/document_knowledge/readme/USAGE.rst +++ /dev/null @@ -1,5 +0,0 @@ -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. diff --git a/document_knowledge/static/description/index.html b/document_knowledge/static/description/index.html index 7d10a1ba97b..462af4dc660 100644 --- a/document_knowledge/static/description/index.html +++ b/document_knowledge/static/description/index.html @@ -369,8 +369,9 @@

Documents Knowledge

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:c1488375286777cfdb9187452f29e3f8a28157ba0f11fa21061916703e669afc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runboat

-

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

+

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runboat

+

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

Table of contents

    @@ -392,14 +393,15 @@

    Configuration

    • 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:

      @@ -413,15 +415,15 @@

      Configuration

      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. 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.

+feedback.

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

@@ -472,7 +474,7 @@

Maintainers

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 project on GitHub.

+

This module is part of the OCA/knowledge project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/document_page/README.rst b/document_page/README.rst index 11992bb9643..2cd77cd4602 100644 --- a/document_page/README.rst +++ b/document_page/README.rst @@ -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| @@ -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 ============= @@ -50,9 +51,11 @@ 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 =========== @@ -60,7 +63,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -68,43 +71,42 @@ Credits ======= Authors -~~~~~~~ +------- * OpenERP SA Contributors -~~~~~~~~~~~~ +------------ -* Gervais Naoussi -* Maxime Chambreuil -* Iván Todorovich -* Jose Maria Alzaga -* Lois Rilo -* Simone Orsi -* `Tecnativa `_: +- Gervais Naoussi +- Maxime Chambreuil +- Iván Todorovich +- Jose Maria Alzaga +- Lois Rilo +- Simone Orsi +- `Tecnativa `__: - * Ernesto Tejeda - * Víctor Martínez + - Ernesto Tejeda + - Víctor Martínez Trobz -* Dung Tran +- Dung Tran +- `Sygel `__: -* `Sygel `_: - - * Á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 -* Savoir-faire Linux -* Camptocamp +- Odoo SA +- Savoir-faire Linux +- Camptocamp Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -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 `_ project on GitHub. +This module is part of the `OCA/knowledge `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/document_page/readme/CONFIGURE.rst b/document_page/readme/CONFIGURE.rst deleted file mode 100644 index e7dc235973a..00000000000 --- a/document_page/readme/CONFIGURE.rst +++ /dev/null @@ -1 +0,0 @@ -No configuration required. diff --git a/document_page/readme/CONTRIBUTORS.rst b/document_page/readme/CONTRIBUTORS.rst deleted file mode 100644 index a45e3a717c2..00000000000 --- a/document_page/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,18 +0,0 @@ -* Gervais Naoussi -* Maxime Chambreuil -* Iván Todorovich -* Jose Maria Alzaga -* Lois Rilo -* Simone Orsi -* `Tecnativa `_: - - * Ernesto Tejeda - * Víctor Martínez - -Trobz - -* Dung Tran - -* `Sygel `_: - - * Ángel García de la Chica Herrera diff --git a/document_page/readme/CREDITS.rst b/document_page/readme/CREDITS.rst deleted file mode 100644 index 6ce07dd6416..00000000000 --- a/document_page/readme/CREDITS.rst +++ /dev/null @@ -1,5 +0,0 @@ -The development of this module has been financially supported by: - -* Odoo SA -* Savoir-faire Linux -* Camptocamp diff --git a/document_page/readme/DESCRIPTION.rst b/document_page/readme/DESCRIPTION.rst deleted file mode 100644 index 3c046a016db..00000000000 --- a/document_page/readme/DESCRIPTION.rst +++ /dev/null @@ -1 +0,0 @@ -This module allows you to write web pages for internal documentation. diff --git a/document_page/readme/INSTALL.rst b/document_page/readme/INSTALL.rst deleted file mode 100644 index b643617c326..00000000000 --- a/document_page/readme/INSTALL.rst +++ /dev/null @@ -1 +0,0 @@ -This module depends on module knowledge. So make sure to have it in your addons list. diff --git a/document_page/readme/USAGE.rst b/document_page/readme/USAGE.rst deleted file mode 100644 index 8576f8fc582..00000000000 --- a/document_page/readme/USAGE.rst +++ /dev/null @@ -1,5 +0,0 @@ -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 diff --git a/document_page/static/description/index.html b/document_page/static/description/index.html index fb4a3036be2..a598837961e 100644 --- a/document_page/static/description/index.html +++ b/document_page/static/description/index.html @@ -369,7 +369,7 @@

Document Page

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:7ba9b7baeb324eeed4b1daa1cef00cd5f88753efbf38ccc8399bf0d30add1f06 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runboat

This module allows you to write web pages for internal documentation.

Table of contents

@@ -389,7 +389,8 @@

Document Page

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

@@ -400,8 +401,10 @@

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
  • +
  • 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
@@ -409,7 +412,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

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

@@ -460,7 +463,7 @@

Maintainers

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 project on GitHub.

+

This module is part of the OCA/knowledge project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.