From e84cd88305e0dba0a3e6f3f85a01e0d37e15067b Mon Sep 17 00:00:00 2001 From: Antonio Buric Date: Tue, 6 Aug 2024 22:09:12 +0200 Subject: [PATCH] [IMP] linting changes to .rst files --- sale_discount_display_amount/README.rst | 44 ++++++++++--------- .../readme/CONFIGURE.md | 6 +++ .../readme/CONFIGURE.rst | 4 -- .../readme/CONTRIBUTORS.md | 7 +++ .../readme/CONTRIBUTORS.rst | 9 ---- .../readme/DESCRIPTION.md | 6 +++ .../readme/DESCRIPTION.rst | 5 --- sale_discount_display_amount/readme/USAGE.md | 6 +++ sale_discount_display_amount/readme/USAGE.rst | 5 --- .../static/description/index.html | 28 +++++++----- sale_order_line_sequence/README.rst | 23 +++++----- .../readme/CONTRIBUTORS.md | 3 ++ .../readme/CONTRIBUTORS.rst | 3 -- sale_order_line_sequence/readme/CREDITS.md | 4 ++ sale_order_line_sequence/readme/CREDITS.rst | 4 -- .../readme/DESCRIPTION.md | 2 + .../readme/DESCRIPTION.rst | 2 - .../static/description/index.html | 18 +++++--- sale_order_line_tag/README.rst | 11 ++--- sale_order_line_tag/readme/CONTRIBUTORS.md | 1 + sale_order_line_tag/readme/CONTRIBUTORS.rst | 1 - .../{DESCRIPTION.rst => DESCRIPTION.md} | 3 +- .../static/description/index.html | 14 +++--- 23 files changed, 115 insertions(+), 94 deletions(-) create mode 100644 sale_discount_display_amount/readme/CONFIGURE.md delete mode 100644 sale_discount_display_amount/readme/CONFIGURE.rst create mode 100644 sale_discount_display_amount/readme/CONTRIBUTORS.md delete mode 100644 sale_discount_display_amount/readme/CONTRIBUTORS.rst create mode 100644 sale_discount_display_amount/readme/DESCRIPTION.md delete mode 100644 sale_discount_display_amount/readme/DESCRIPTION.rst create mode 100644 sale_discount_display_amount/readme/USAGE.md delete mode 100644 sale_discount_display_amount/readme/USAGE.rst create mode 100644 sale_order_line_sequence/readme/CONTRIBUTORS.md delete mode 100644 sale_order_line_sequence/readme/CONTRIBUTORS.rst create mode 100644 sale_order_line_sequence/readme/CREDITS.md delete mode 100644 sale_order_line_sequence/readme/CREDITS.rst create mode 100644 sale_order_line_sequence/readme/DESCRIPTION.md delete mode 100644 sale_order_line_sequence/readme/DESCRIPTION.rst create mode 100644 sale_order_line_tag/readme/CONTRIBUTORS.md delete mode 100644 sale_order_line_tag/readme/CONTRIBUTORS.rst rename sale_order_line_tag/readme/{DESCRIPTION.rst => DESCRIPTION.md} (80%) diff --git a/sale_discount_display_amount/README.rst b/sale_discount_display_amount/README.rst index 3aaf17c6580..bc78501155f 100644 --- a/sale_discount_display_amount/README.rst +++ b/sale_discount_display_amount/README.rst @@ -28,11 +28,12 @@ Sale Discount Display Amount |badge1| |badge2| |badge3| |badge4| |badge5| -In standard Odoo only display the rate of the discount applied, never the -amount. It could be great to be able to tell the customer how much he spares. -This is the goal of this addons, it will show on a sale -order the total without the discount and the value of the discount. -You can choose if you want the discount on the Total with or the Total without TAX. +In standard Odoo only display the rate of the discount applied, never +the amount. It could be great to be able to tell the customer how much +he spares. This is the goal of this addons, it will show on a sale order +the total without the discount and the value of the discount. You can +choose if you want the discount on the Total with or the Total without +TAX. **Table of contents** @@ -44,17 +45,19 @@ Configuration To configure this module, you need to: -#. Go to Sales/Settings and check "Allow discounts on sales order lines" -#. Go to Sales/Settings and check or uncheck "Show the Discount with TAX" depending on your needs +1. Go to Sales/Settings and check "Allow discounts on sales order lines" +2. Go to Sales/Settings and check or uncheck "Show the Discount with + TAX" depending on your needs Usage ===== To use this module, you need to: -#. Go on a sale order -#. Set a discount on a line -#. The value of the discount is dislayed in the total section as well as the total without it. +1. Go on a sale order +2. Set a discount on a line +3. The value of the discount is dislayed in the total section as well as + the total without it. Bug Tracker =========== @@ -70,25 +73,24 @@ Credits ======= Authors -~~~~~~~ +------- * ACSONE SA/NV Contributors -~~~~~~~~~~~~ +------------ -* Cédric Pigeon -* Abraham Anes -* Chafique Delli -* Ruchir Shukla -* Manuel Regidor +- Cédric Pigeon +- Abraham Anes +- Chafique Delli +- Ruchir Shukla +- Manuel Regidor +- `Pesol `__: -* `Pesol `__: - - * Jonathan Oscategui Taza + - Jonathan Oscategui Taza Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. diff --git a/sale_discount_display_amount/readme/CONFIGURE.md b/sale_discount_display_amount/readme/CONFIGURE.md new file mode 100644 index 00000000000..2243f7d306e --- /dev/null +++ b/sale_discount_display_amount/readme/CONFIGURE.md @@ -0,0 +1,6 @@ +To configure this module, you need to: + +1. Go to Sales/Settings and check "Allow discounts on sales order + lines" +2. Go to Sales/Settings and check or uncheck "Show the Discount with + TAX" depending on your needs diff --git a/sale_discount_display_amount/readme/CONFIGURE.rst b/sale_discount_display_amount/readme/CONFIGURE.rst deleted file mode 100644 index b305aaac603..00000000000 --- a/sale_discount_display_amount/readme/CONFIGURE.rst +++ /dev/null @@ -1,4 +0,0 @@ -To configure this module, you need to: - -#. Go to Sales/Settings and check "Allow discounts on sales order lines" -#. Go to Sales/Settings and check or uncheck "Show the Discount with TAX" depending on your needs diff --git a/sale_discount_display_amount/readme/CONTRIBUTORS.md b/sale_discount_display_amount/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..f9cf6d7eef1 --- /dev/null +++ b/sale_discount_display_amount/readme/CONTRIBUTORS.md @@ -0,0 +1,7 @@ +- Cédric Pigeon \<\> +- Abraham Anes \<\> +- Chafique Delli \<\> +- Ruchir Shukla \<\> +- Manuel Regidor \<\> +- [Pesol](https://www.pesol.es): + - Jonathan Oscategui Taza \<\> diff --git a/sale_discount_display_amount/readme/CONTRIBUTORS.rst b/sale_discount_display_amount/readme/CONTRIBUTORS.rst deleted file mode 100644 index 839fa44b74e..00000000000 --- a/sale_discount_display_amount/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,9 +0,0 @@ -* Cédric Pigeon -* Abraham Anes -* Chafique Delli -* Ruchir Shukla -* Manuel Regidor - -* `Pesol `__: - - * Jonathan Oscategui Taza diff --git a/sale_discount_display_amount/readme/DESCRIPTION.md b/sale_discount_display_amount/readme/DESCRIPTION.md new file mode 100644 index 00000000000..9887426a63c --- /dev/null +++ b/sale_discount_display_amount/readme/DESCRIPTION.md @@ -0,0 +1,6 @@ +In standard Odoo only display the rate of the discount applied, never +the amount. It could be great to be able to tell the customer how much +he spares. This is the goal of this addons, it will show on a sale order +the total without the discount and the value of the discount. You can +choose if you want the discount on the Total with or the Total without +TAX. diff --git a/sale_discount_display_amount/readme/DESCRIPTION.rst b/sale_discount_display_amount/readme/DESCRIPTION.rst deleted file mode 100644 index 3bbebf6d948..00000000000 --- a/sale_discount_display_amount/readme/DESCRIPTION.rst +++ /dev/null @@ -1,5 +0,0 @@ -In standard Odoo only display the rate of the discount applied, never the -amount. It could be great to be able to tell the customer how much he spares. -This is the goal of this addons, it will show on a sale -order the total without the discount and the value of the discount. -You can choose if you want the discount on the Total with or the Total without TAX. diff --git a/sale_discount_display_amount/readme/USAGE.md b/sale_discount_display_amount/readme/USAGE.md new file mode 100644 index 00000000000..16f80cd04ab --- /dev/null +++ b/sale_discount_display_amount/readme/USAGE.md @@ -0,0 +1,6 @@ +To use this module, you need to: + +1. Go on a sale order +2. Set a discount on a line +3. The value of the discount is dislayed in the total section as well + as the total without it. diff --git a/sale_discount_display_amount/readme/USAGE.rst b/sale_discount_display_amount/readme/USAGE.rst deleted file mode 100644 index 105f71c2035..00000000000 --- a/sale_discount_display_amount/readme/USAGE.rst +++ /dev/null @@ -1,5 +0,0 @@ -To use this module, you need to: - -#. Go on a sale order -#. Set a discount on a line -#. The value of the discount is dislayed in the total section as well as the total without it. diff --git a/sale_discount_display_amount/static/description/index.html b/sale_discount_display_amount/static/description/index.html index bd94007e230..025176c28a7 100644 --- a/sale_discount_display_amount/static/description/index.html +++ b/sale_discount_display_amount/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,11 +370,12 @@

Sale Discount Display Amount

!! source digest: sha256:bbe170573a7271befeaef85ccb150ab7766de57da3e4c8c02fb6eb954c7f0fe3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

-

In standard Odoo only display the rate of the discount applied, never the -amount. It could be great to be able to tell the customer how much he spares. -This is the goal of this addons, it will show on a sale -order the total without the discount and the value of the discount. -You can choose if you want the discount on the Total with or the Total without TAX.

+

In standard Odoo only display the rate of the discount applied, never +the amount. It could be great to be able to tell the customer how much +he spares. This is the goal of this addons, it will show on a sale order +the total without the discount and the value of the discount. You can +choose if you want the discount on the Total with or the Total without +TAX.

Table of contents

    @@ -393,7 +395,8 @@

    Configuration

    To configure this module, you need to:

    1. Go to Sales/Settings and check “Allow discounts on sales order lines”
    2. -
    3. Go to Sales/Settings and check or uncheck “Show the Discount with TAX” depending on your needs
    4. +
    5. Go to Sales/Settings and check or uncheck “Show the Discount with +TAX” depending on your needs
@@ -402,7 +405,8 @@

Usage

  1. Go on a sale order
  2. Set a discount on a line
  3. -
  4. The value of the discount is dislayed in the total section as well as the total without it.
  5. +
  6. The value of the discount is dislayed in the total section as well as +the total without it.
@@ -438,7 +442,9 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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.

diff --git a/sale_order_line_sequence/README.rst b/sale_order_line_sequence/README.rst index edd9f8febae..1d5bfae47d6 100644 --- a/sale_order_line_sequence/README.rst +++ b/sale_order_line_sequence/README.rst @@ -28,8 +28,8 @@ Sale Order Line Sequence |badge1| |badge2| |badge3| |badge4| |badge5| -Displays the sequence of Sale order line and helps to maintain the order. -The line sequence number is also displayed in sale order reports. +Displays the sequence of Sale order line and helps to maintain the +order. The line sequence number is also displayed in sale order reports. **Table of contents** @@ -50,28 +50,29 @@ Credits ======= Authors -~~~~~~~ +------- * ForgeFlow * Serpent CS Contributors -~~~~~~~~~~~~ +------------ -* ForgeFlow S.L. -* Serpent Consulting Services Pvt. Ltd. -* Rattapong Chokmasermkul +- ForgeFlow S.L. +- Serpent Consulting Services Pvt. Ltd. +- Rattapong Chokmasermkul Other credits -~~~~~~~~~~~~~ +------------- Images ------- +~~~~~~ -* Odoo Community Association: `Icon `_. +- Odoo Community Association: + `Icon `__. Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. diff --git a/sale_order_line_sequence/readme/CONTRIBUTORS.md b/sale_order_line_sequence/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..8a19a144472 --- /dev/null +++ b/sale_order_line_sequence/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- ForgeFlow S.L. \<\> +- Serpent Consulting Services Pvt. Ltd. \<\> +- Rattapong Chokmasermkul \<\> diff --git a/sale_order_line_sequence/readme/CONTRIBUTORS.rst b/sale_order_line_sequence/readme/CONTRIBUTORS.rst deleted file mode 100644 index e6b61712321..00000000000 --- a/sale_order_line_sequence/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* ForgeFlow S.L. -* Serpent Consulting Services Pvt. Ltd. -* Rattapong Chokmasermkul diff --git a/sale_order_line_sequence/readme/CREDITS.md b/sale_order_line_sequence/readme/CREDITS.md new file mode 100644 index 00000000000..a64e54d2f32 --- /dev/null +++ b/sale_order_line_sequence/readme/CREDITS.md @@ -0,0 +1,4 @@ +## Images + +- Odoo Community Association: + [Icon](https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg). diff --git a/sale_order_line_sequence/readme/CREDITS.rst b/sale_order_line_sequence/readme/CREDITS.rst deleted file mode 100644 index 9baa7efb9c0..00000000000 --- a/sale_order_line_sequence/readme/CREDITS.rst +++ /dev/null @@ -1,4 +0,0 @@ -Images ------- - -* Odoo Community Association: `Icon `_. diff --git a/sale_order_line_sequence/readme/DESCRIPTION.md b/sale_order_line_sequence/readme/DESCRIPTION.md new file mode 100644 index 00000000000..7f1c3a687cb --- /dev/null +++ b/sale_order_line_sequence/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +Displays the sequence of Sale order line and helps to maintain the +order. The line sequence number is also displayed in sale order reports. diff --git a/sale_order_line_sequence/readme/DESCRIPTION.rst b/sale_order_line_sequence/readme/DESCRIPTION.rst deleted file mode 100644 index 3aa222bf7fe..00000000000 --- a/sale_order_line_sequence/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -Displays the sequence of Sale order line and helps to maintain the order. -The line sequence number is also displayed in sale order reports. diff --git a/sale_order_line_sequence/static/description/index.html b/sale_order_line_sequence/static/description/index.html index 826e2fdf7f1..1bf059994bf 100644 --- a/sale_order_line_sequence/static/description/index.html +++ b/sale_order_line_sequence/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,8 +370,8 @@

Sale Order Line Sequence

!! source digest: sha256:28c2b71b2bead701a630215f957970e26891eaaea3e224fac54efb5654ead807 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

-

Displays the sequence of Sale order line and helps to maintain the order. -The line sequence number is also displayed in sale order reports.

+

Displays the sequence of Sale order line and helps to maintain the +order. The line sequence number is also displayed in sale order reports.

Table of contents

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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.

diff --git a/sale_order_line_tag/README.rst b/sale_order_line_tag/README.rst index b76ba0b17b7..e444dc9ca31 100644 --- a/sale_order_line_tag/README.rst +++ b/sale_order_line_tag/README.rst @@ -28,7 +28,8 @@ Sale Order Line Tag |badge1| |badge2| |badge3| |badge4| |badge5| -This module allows the user to tag sales order lines in order to classify them. +This module allows the user to tag sales order lines in order to +classify them. **Table of contents** @@ -49,17 +50,17 @@ Credits ======= Authors -~~~~~~~ +------- * Open Source Integrators Contributors -~~~~~~~~~~~~ +------------ -* Samuel Macias +- Samuel Macias Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. diff --git a/sale_order_line_tag/readme/CONTRIBUTORS.md b/sale_order_line_tag/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..f40218a9959 --- /dev/null +++ b/sale_order_line_tag/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Samuel Macias \<\> diff --git a/sale_order_line_tag/readme/CONTRIBUTORS.rst b/sale_order_line_tag/readme/CONTRIBUTORS.rst deleted file mode 100644 index d9791714bee..00000000000 --- a/sale_order_line_tag/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1 +0,0 @@ -* Samuel Macias diff --git a/sale_order_line_tag/readme/DESCRIPTION.rst b/sale_order_line_tag/readme/DESCRIPTION.md similarity index 80% rename from sale_order_line_tag/readme/DESCRIPTION.rst rename to sale_order_line_tag/readme/DESCRIPTION.md index 1cf91ebd2be..d255721beb8 100644 --- a/sale_order_line_tag/readme/DESCRIPTION.rst +++ b/sale_order_line_tag/readme/DESCRIPTION.md @@ -1 +1,2 @@ -This module allows the user to tag sales order lines in order to classify them. +This module allows the user to tag sales order lines in order to +classify them. diff --git a/sale_order_line_tag/static/description/index.html b/sale_order_line_tag/static/description/index.html index cefa9251e6c..0494c780c75 100644 --- a/sale_order_line_tag/static/description/index.html +++ b/sale_order_line_tag/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,7 +370,8 @@

Sale Order Line Tag

!! source digest: sha256:57fb96fc9ffb1d907e47f09026486a1bdb2fdaa5d0cc7152de6773f2f4aaa555 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

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

-

This module allows the user to tag sales order lines in order to classify them.

+

This module allows the user to tag sales order lines in order to +classify them.

Table of contents

    @@ -407,7 +409,9 @@

    Contributors

    Maintainers

    This module is maintained by the OCA.

    -Odoo Community Association + +Odoo Community Association +

    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.