From 6fcf9ff9131fc2ee90258039f3fedd437c18492e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20GRALL?=
Date: Thu, 25 Jan 2024 10:40:35 +0100
Subject: [PATCH] [IMP] mrp_sale_info: pre-commit auto fixes
---
mrp_sale_info/README.rst | 55 +++++++++++---------
mrp_sale_info/pyproject.toml | 3 ++
mrp_sale_info/readme/CONTRIBUTORS.md | 11 ++++
mrp_sale_info/readme/CONTRIBUTORS.rst | 13 -----
mrp_sale_info/readme/DESCRIPTION.md | 7 +++
mrp_sale_info/readme/DESCRIPTION.rst | 7 ---
mrp_sale_info/readme/{USAGE.rst => USAGE.md} | 3 +-
mrp_sale_info/static/description/index.html | 13 ++---
8 files changed, 59 insertions(+), 53 deletions(-)
create mode 100644 mrp_sale_info/pyproject.toml
create mode 100644 mrp_sale_info/readme/CONTRIBUTORS.md
delete mode 100644 mrp_sale_info/readme/CONTRIBUTORS.rst
create mode 100644 mrp_sale_info/readme/DESCRIPTION.md
delete mode 100644 mrp_sale_info/readme/DESCRIPTION.rst
rename mrp_sale_info/readme/{USAGE.rst => USAGE.md} (84%)
diff --git a/mrp_sale_info/README.rst b/mrp_sale_info/README.rst
index 7bf3407fc..4917ed776 100644
--- a/mrp_sale_info/README.rst
+++ b/mrp_sale_info/README.rst
@@ -17,24 +17,24 @@ MRP Sale Info
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github
- :target: https://github.com/OCA/manufacture/tree/16.0/mrp_sale_info
+ :target: https://github.com/OCA/manufacture/tree/17.0/mrp_sale_info
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_sale_info
+ :target: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-mrp_sale_info
: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/manufacture&target_branch=16.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/manufacture&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
-This module extends the functionality of Odoo for adding related fields to
-Manufacturing Orders and Work Orders:
+This module extends the functionality of Odoo for adding related fields
+to Manufacturing Orders and Work Orders:
- * Sale order
- * Customer
- * Commitment Date
- * Customer Reference
+ - Sale order
+ - Customer
+ - Commitment Date
+ - Customer Reference
**Table of contents**
@@ -44,7 +44,8 @@ Manufacturing Orders and Work Orders:
Usage
=====
-New fields are displayed in tree and in form views (Extra information tab).
+New fields are displayed in tree and in form views (Extra information
+tab).
Bug Tracker
===========
@@ -52,7 +53,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.
@@ -60,30 +61,32 @@ Credits
=======
Authors
-~~~~~~~
+-------
* AvanzOSC
* Tecnativa
Contributors
-~~~~~~~~~~~~
+------------
-* `AvanzOsc `_:
+- `AvanzOsc `__:
- * Oihane Crucelaegui
- * Ana Juaristi
-* `Tecnativa `_:
+ - Oihane Crucelaegui
+ - Ana Juaristi
- * Antonio Espinosa
- * Rafael Blasco
- * Pedro M. Baeza
-* Rubén Bravo
-* Kevin Khao
-* Alex Comba
-* Mantas Šniukas
+- `Tecnativa `__:
+
+ - Antonio Espinosa
+ - Rafael Blasco
+ - Pedro M. Baeza
+
+- Rubén Bravo
+- Kevin Khao
+- Alex Comba
+- Mantas Šniukas
Maintainers
-~~~~~~~~~~~
+-----------
This module is maintained by the OCA.
@@ -95,6 +98,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/manufacture `_ project on GitHub.
+This module is part of the `OCA/manufacture `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/mrp_sale_info/pyproject.toml b/mrp_sale_info/pyproject.toml
new file mode 100644
index 000000000..4231d0ccc
--- /dev/null
+++ b/mrp_sale_info/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/mrp_sale_info/readme/CONTRIBUTORS.md b/mrp_sale_info/readme/CONTRIBUTORS.md
new file mode 100644
index 000000000..786ae2b2a
--- /dev/null
+++ b/mrp_sale_info/readme/CONTRIBUTORS.md
@@ -0,0 +1,11 @@
+- [AvanzOsc](http://www.avanzosc.es):
+ - Oihane Crucelaegui \<\>
+ - Ana Juaristi \<\>
+- [Tecnativa](https://www.tecnativa.com):
+ - Antonio Espinosa
+ - Rafael Blasco
+ - Pedro M. Baeza
+- Rubén Bravo \<\>
+- Kevin Khao \<\>
+- Alex Comba \<\>
+- Mantas Šniukas \<\>
diff --git a/mrp_sale_info/readme/CONTRIBUTORS.rst b/mrp_sale_info/readme/CONTRIBUTORS.rst
deleted file mode 100644
index 18d2420e1..000000000
--- a/mrp_sale_info/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-* `AvanzOsc `_:
-
- * Oihane Crucelaegui
- * Ana Juaristi
-* `Tecnativa `_:
-
- * Antonio Espinosa
- * Rafael Blasco
- * Pedro M. Baeza
-* Rubén Bravo
-* Kevin Khao
-* Alex Comba
-* Mantas Šniukas
diff --git a/mrp_sale_info/readme/DESCRIPTION.md b/mrp_sale_info/readme/DESCRIPTION.md
new file mode 100644
index 000000000..215486f27
--- /dev/null
+++ b/mrp_sale_info/readme/DESCRIPTION.md
@@ -0,0 +1,7 @@
+This module extends the functionality of Odoo for adding related fields
+to Manufacturing Orders and Work Orders:
+
+> - Sale order
+> - Customer
+> - Commitment Date
+> - Customer Reference
diff --git a/mrp_sale_info/readme/DESCRIPTION.rst b/mrp_sale_info/readme/DESCRIPTION.rst
deleted file mode 100644
index 7d7adfda2..000000000
--- a/mrp_sale_info/readme/DESCRIPTION.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-This module extends the functionality of Odoo for adding related fields to
-Manufacturing Orders and Work Orders:
-
- * Sale order
- * Customer
- * Commitment Date
- * Customer Reference
diff --git a/mrp_sale_info/readme/USAGE.rst b/mrp_sale_info/readme/USAGE.md
similarity index 84%
rename from mrp_sale_info/readme/USAGE.rst
rename to mrp_sale_info/readme/USAGE.md
index e4863f588..36ba62203 100644
--- a/mrp_sale_info/readme/USAGE.rst
+++ b/mrp_sale_info/readme/USAGE.md
@@ -1 +1,2 @@
-New fields are displayed in tree and in form views (Extra information tab).
+New fields are displayed in tree and in form views (Extra information
+tab).
diff --git a/mrp_sale_info/static/description/index.html b/mrp_sale_info/static/description/index.html
index eefebf9f4..f1e95a070 100644
--- a/mrp_sale_info/static/description/index.html
+++ b/mrp_sale_info/static/description/index.html
@@ -369,9 +369,9 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0b9b018d3244844e65691844457e6cd19fd9cc54b944c030bbb39dac83f508fc
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

-This module extends the functionality of Odoo for adding related fields to
-Manufacturing Orders and Work Orders:
+

+This module extends the functionality of Odoo for adding related fields
+to Manufacturing Orders and Work Orders:
- Sale order
@@ -395,14 +395,15 @@ Manufacturing Orders and Work Orders:
-
New fields are displayed in tree and in form views (Extra information tab).
+
New fields are displayed in tree and in form views (Extra information
+tab).
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.
@@ -441,7 +442,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
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/manufacture project on GitHub.
+
This module is part of the OCA/manufacture project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.