Skip to content

Commit

Permalink
[IMP] linting changes to .rst files
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioburic committed Aug 6, 2024
1 parent 6886788 commit e84cd88
Show file tree
Hide file tree
Showing 23 changed files with 115 additions and 94 deletions.
44 changes: 23 additions & 21 deletions sale_discount_display_amount/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand All @@ -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
===========
Expand All @@ -70,25 +73,24 @@ Credits
=======

Authors
~~~~~~~
-------

* ACSONE SA/NV

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

* Cédric Pigeon <[email protected]>
* Abraham Anes <[email protected]>
* Chafique Delli <[email protected]>
* Ruchir Shukla <[email protected]>
* Manuel Regidor <[email protected]>
- Cédric Pigeon <[email protected]>
- Abraham Anes <[email protected]>
- Chafique Delli <[email protected]>
- Ruchir Shukla <[email protected]>
- Manuel Regidor <[email protected]>
- `Pesol <https://www.pesol.es>`__:

* `Pesol <https://www.pesol.es>`__:

* Jonathan Oscategui Taza <[email protected]>
- Jonathan Oscategui Taza <[email protected]>

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

This module is maintained by the OCA.

Expand Down
6 changes: 6 additions & 0 deletions sale_discount_display_amount/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 0 additions & 4 deletions sale_discount_display_amount/readme/CONFIGURE.rst

This file was deleted.

7 changes: 7 additions & 0 deletions sale_discount_display_amount/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- Cédric Pigeon \<<[email protected]>\>
- Abraham Anes \<<[email protected]>\>
- Chafique Delli \<<[email protected]>\>
- Ruchir Shukla \<<[email protected]>\>
- Manuel Regidor \<<[email protected]>\>
- [Pesol](https://www.pesol.es):
- Jonathan Oscategui Taza \<<[email protected]>\>
9 changes: 0 additions & 9 deletions sale_discount_display_amount/readme/CONTRIBUTORS.rst

This file was deleted.

6 changes: 6 additions & 0 deletions sale_discount_display_amount/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 0 additions & 5 deletions sale_discount_display_amount/readme/DESCRIPTION.rst

This file was deleted.

6 changes: 6 additions & 0 deletions sale_discount_display_amount/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 0 additions & 5 deletions sale_discount_display_amount/readme/USAGE.rst

This file was deleted.

28 changes: 17 additions & 11 deletions sale_discount_display_amount/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

/*
:Author: David Goodger ([email protected])
: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.
Expand Down Expand Up @@ -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 }
Expand All @@ -300,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -369,11 +370,12 @@ <h1 class="title">Sale Discount Display Amount</h1>
!! source digest: sha256:bbe170573a7271befeaef85ccb150ab7766de57da3e4c8c02fb6eb954c7f0fe3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/sale-workflow/tree/17.0/sale_discount_display_amount"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_discount_display_amount"><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/sale-workflow&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>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.</p>
<p>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.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -393,7 +395,8 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>To configure this module, you need to:</p>
<ol class="arabic simple">
<li>Go to Sales/Settings and check “Allow discounts on sales order lines”</li>
<li>Go to Sales/Settings and check or uncheck “Show the Discount with TAX” depending on your needs</li>
<li>Go to Sales/Settings and check or uncheck “Show the Discount with
TAX” depending on your needs</li>
</ol>
</div>
<div class="section" id="usage">
Expand All @@ -402,7 +405,8 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<ol class="arabic simple">
<li>Go on a sale order</li>
<li>Set a discount on a line</li>
<li>The value of the discount is dislayed in the total section as well as the total without it.</li>
<li>The value of the discount is dislayed in the total section as well as
the total without it.</li>
</ol>
</div>
<div class="section" id="bug-tracker">
Expand Down Expand Up @@ -438,7 +442,9 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<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>
Expand Down
23 changes: 12 additions & 11 deletions sale_order_line_sequence/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand All @@ -50,28 +50,29 @@ Credits
=======

Authors
~~~~~~~
-------

* ForgeFlow
* Serpent CS

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

* ForgeFlow S.L. <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>
* Rattapong Chokmasermkul <[email protected]>
- ForgeFlow S.L. <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[email protected]>
- Rattapong Chokmasermkul <[email protected]>

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

Images
------
~~~~~~

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
- Odoo Community Association:
`Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`__.

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

This module is maintained by the OCA.

Expand Down
3 changes: 3 additions & 0 deletions sale_order_line_sequence/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- ForgeFlow S.L. \<<[email protected]>\>
- Serpent Consulting Services Pvt. Ltd. \<<[email protected]>\>
- Rattapong Chokmasermkul \<<[email protected]>\>
3 changes: 0 additions & 3 deletions sale_order_line_sequence/readme/CONTRIBUTORS.rst

This file was deleted.

4 changes: 4 additions & 0 deletions sale_order_line_sequence/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Images

- Odoo Community Association:
[Icon](https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg).
4 changes: 0 additions & 4 deletions sale_order_line_sequence/readme/CREDITS.rst

This file was deleted.

2 changes: 2 additions & 0 deletions sale_order_line_sequence/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 0 additions & 2 deletions sale_order_line_sequence/readme/DESCRIPTION.rst

This file was deleted.

18 changes: 11 additions & 7 deletions sale_order_line_sequence/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

/*
:Author: David Goodger ([email protected])
: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.
Expand Down Expand Up @@ -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 }
Expand All @@ -300,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -369,8 +370,8 @@ <h1 class="title">Sale Order Line Sequence</h1>
!! source digest: sha256:28c2b71b2bead701a630215f957970e26891eaaea3e224fac54efb5654ead807
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/sale-workflow/tree/17.0/sale_order_line_sequence"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_order_line_sequence"><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/sale-workflow&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>Displays the sequence of Sale order line and helps to maintain the order.
The line sequence number is also displayed in sale order reports.</p>
<p>Displays the sequence of Sale order line and helps to maintain the
order. The line sequence number is also displayed in sale order reports.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down Expand Up @@ -417,14 +418,17 @@ <h2><a class="toc-backref" href="#toc-entry-5">Other credits</a></h2>
<div class="section" id="images">
<h3><a class="toc-backref" href="#toc-entry-6">Images</a></h3>
<ul class="simple">
<li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li>
<li>Odoo Community Association:
<a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li>
</ul>
</div>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<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>
Expand Down
11 changes: 6 additions & 5 deletions sale_order_line_tag/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand All @@ -49,17 +50,17 @@ Credits
=======

Authors
~~~~~~~
-------

* Open Source Integrators

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

* Samuel Macias <[email protected]>
- Samuel Macias <[email protected]>

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

This module is maintained by the OCA.

Expand Down
1 change: 1 addition & 0 deletions sale_order_line_tag/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Samuel Macias \<<[email protected]>\>
1 change: 0 additions & 1 deletion sale_order_line_tag/readme/CONTRIBUTORS.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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.
Loading

0 comments on commit e84cd88

Please sign in to comment.