From 006700ed154b5e6697b25047bec4da4a76e67696 Mon Sep 17 00:00:00 2001
From: JasminSForgeFlow
Date: Tue, 12 Mar 2024 10:53:18 +0530
Subject: [PATCH] [IMP] mrp_warehouse_calendar: black, isort, prettier
---
mrp_warehouse_calendar/README.rst | 57 +++++++++----------
mrp_warehouse_calendar/pyproject.toml | 3 +
mrp_warehouse_calendar/readme/CONFIGURE.md | 7 +++
mrp_warehouse_calendar/readme/CONFIGURE.rst | 9 ---
mrp_warehouse_calendar/readme/CONTRIBUTORS.md | 2 +
.../readme/CONTRIBUTORS.rst | 2 -
mrp_warehouse_calendar/readme/DESCRIPTION.md | 8 +++
mrp_warehouse_calendar/readme/DESCRIPTION.rst | 7 ---
mrp_warehouse_calendar/readme/USAGE.md | 8 +++
mrp_warehouse_calendar/readme/USAGE.rst | 8 ---
.../static/description/index.html | 34 +++++------
11 files changed, 74 insertions(+), 71 deletions(-)
create mode 100644 mrp_warehouse_calendar/pyproject.toml
create mode 100644 mrp_warehouse_calendar/readme/CONFIGURE.md
delete mode 100644 mrp_warehouse_calendar/readme/CONFIGURE.rst
create mode 100644 mrp_warehouse_calendar/readme/CONTRIBUTORS.md
delete mode 100644 mrp_warehouse_calendar/readme/CONTRIBUTORS.rst
create mode 100644 mrp_warehouse_calendar/readme/DESCRIPTION.md
delete mode 100644 mrp_warehouse_calendar/readme/DESCRIPTION.rst
create mode 100644 mrp_warehouse_calendar/readme/USAGE.md
delete mode 100644 mrp_warehouse_calendar/readme/USAGE.rst
diff --git a/mrp_warehouse_calendar/README.rst b/mrp_warehouse_calendar/README.rst
index d66596b1f..58a36dc5b 100644
--- a/mrp_warehouse_calendar/README.rst
+++ b/mrp_warehouse_calendar/README.rst
@@ -17,21 +17,22 @@ MRP Warehouse Calendar
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-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_warehouse_calendar
+ :target: https://github.com/OCA/manufacture/tree/17.0/mrp_warehouse_calendar
: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_warehouse_calendar
+ :target: https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-mrp_warehouse_calendar
: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|
-With this module the manufacturing orders created from procurements consider
-the calendar assigned to the warehouse of the picking type of the
-manufacturing order to determine, based on the product's manufacturing
-lead time, the planned start date of the manufacturing order.
+With this module the manufacturing orders created from procurements
+consider the calendar assigned to the warehouse of the picking type of
+the manufacturing order to determine, based on the product's
+manufacturing lead time, the planned start date of the manufacturing
+order.
Further manual replannings of start/end date of the manufacturing order
also consider the lead time using the warehouse calendar days.
@@ -44,27 +45,25 @@ also consider the lead time using the warehouse calendar days.
Configuration
=============
-* This module depends on `stock_warehouse_calendar `_
-
-* Go to *Settings* and activate the developer mode.
-
-* Go to *Settings > Technical > Resource > Working Time* and define your
- resource calendar.
-
-* Go to *Inventory > Configuration > Warehouse Management > Warehouses*
- and assign the Resource Calendar.
+- This module depends on
+ `stock_warehouse_calendar `__
+- Go to *Settings* and activate the developer mode.
+- Go to *Settings > Technical > Resource > Working Time* and define
+ your resource calendar.
+- Go to *Inventory > Configuration > Warehouse Management > Warehouses*
+ and assign the Resource Calendar.
Usage
=====
When a manufacturing order is created out of a procurement evaluation
-(from an orderpoint, MTO,...) the calendar is considered in the computation
-of the planned start date of the manufacturing order.
+(from an orderpoint, MTO,...) the calendar is considered in the
+computation of the planned start date of the manufacturing order.
-For example, if it takes 1 day to manufacture a product and it is required
-for Monday, the manufacturing order will be created with planned start date
-on the previous Friday, if the warehouse operates under a Mo-Fri working
-calendar.
+For example, if it takes 1 day to manufacture a product and it is
+required for Monday, the manufacturing order will be created with
+planned start date on the previous Friday, if the warehouse operates
+under a Mo-Fri working calendar.
Bug Tracker
===========
@@ -72,7 +71,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.
@@ -80,18 +79,18 @@ Credits
=======
Authors
-~~~~~~~
+-------
* ForgeFlow
Contributors
-~~~~~~~~~~~~
+------------
-* Jordi Ballester
-* Lois Rilo
+- Jordi Ballester
+- Lois Rilo
Maintainers
-~~~~~~~~~~~
+-----------
This module is maintained by the OCA.
@@ -111,6 +110,6 @@ Current `maintainer `__:
|maintainer-JordiBForgeFlow|
-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_warehouse_calendar/pyproject.toml b/mrp_warehouse_calendar/pyproject.toml
new file mode 100644
index 000000000..4231d0ccc
--- /dev/null
+++ b/mrp_warehouse_calendar/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["whool"]
+build-backend = "whool.buildapi"
diff --git a/mrp_warehouse_calendar/readme/CONFIGURE.md b/mrp_warehouse_calendar/readme/CONFIGURE.md
new file mode 100644
index 000000000..c4414f162
--- /dev/null
+++ b/mrp_warehouse_calendar/readme/CONFIGURE.md
@@ -0,0 +1,7 @@
+- This module depends on
+ [stock_warehouse_calendar](https://github.com/OCA/stock-logistics-warehouse)
+- Go to *Settings* and activate the developer mode.
+- Go to *Settings \> Technical \> Resource \> Working Time* and define
+ your resource calendar.
+- Go to *Inventory \> Configuration \> Warehouse Management \>
+ Warehouses* and assign the Resource Calendar.
diff --git a/mrp_warehouse_calendar/readme/CONFIGURE.rst b/mrp_warehouse_calendar/readme/CONFIGURE.rst
deleted file mode 100644
index 16ab5b81e..000000000
--- a/mrp_warehouse_calendar/readme/CONFIGURE.rst
+++ /dev/null
@@ -1,9 +0,0 @@
-* This module depends on `stock_warehouse_calendar `_
-
-* Go to *Settings* and activate the developer mode.
-
-* Go to *Settings > Technical > Resource > Working Time* and define your
- resource calendar.
-
-* Go to *Inventory > Configuration > Warehouse Management > Warehouses*
- and assign the Resource Calendar.
diff --git a/mrp_warehouse_calendar/readme/CONTRIBUTORS.md b/mrp_warehouse_calendar/readme/CONTRIBUTORS.md
new file mode 100644
index 000000000..ef0489c75
--- /dev/null
+++ b/mrp_warehouse_calendar/readme/CONTRIBUTORS.md
@@ -0,0 +1,2 @@
+- Jordi Ballester \<\>
+- Lois Rilo \<\>
diff --git a/mrp_warehouse_calendar/readme/CONTRIBUTORS.rst b/mrp_warehouse_calendar/readme/CONTRIBUTORS.rst
deleted file mode 100644
index 8cc067b15..000000000
--- a/mrp_warehouse_calendar/readme/CONTRIBUTORS.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-* Jordi Ballester
-* Lois Rilo
diff --git a/mrp_warehouse_calendar/readme/DESCRIPTION.md b/mrp_warehouse_calendar/readme/DESCRIPTION.md
new file mode 100644
index 000000000..100b2da2b
--- /dev/null
+++ b/mrp_warehouse_calendar/readme/DESCRIPTION.md
@@ -0,0 +1,8 @@
+With this module the manufacturing orders created from procurements
+consider the calendar assigned to the warehouse of the picking type of
+the manufacturing order to determine, based on the product's
+manufacturing lead time, the planned start date of the manufacturing
+order.
+
+Further manual replannings of start/end date of the manufacturing order
+also consider the lead time using the warehouse calendar days.
diff --git a/mrp_warehouse_calendar/readme/DESCRIPTION.rst b/mrp_warehouse_calendar/readme/DESCRIPTION.rst
deleted file mode 100644
index 1c29d471f..000000000
--- a/mrp_warehouse_calendar/readme/DESCRIPTION.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-With this module the manufacturing orders created from procurements consider
-the calendar assigned to the warehouse of the picking type of the
-manufacturing order to determine, based on the product's manufacturing
-lead time, the planned start date of the manufacturing order.
-
-Further manual replannings of start/end date of the manufacturing order
-also consider the lead time using the warehouse calendar days.
diff --git a/mrp_warehouse_calendar/readme/USAGE.md b/mrp_warehouse_calendar/readme/USAGE.md
new file mode 100644
index 000000000..238bc0c91
--- /dev/null
+++ b/mrp_warehouse_calendar/readme/USAGE.md
@@ -0,0 +1,8 @@
+When a manufacturing order is created out of a procurement evaluation
+(from an orderpoint, MTO,...) the calendar is considered in the
+computation of the planned start date of the manufacturing order.
+
+For example, if it takes 1 day to manufacture a product and it is
+required for Monday, the manufacturing order will be created with
+planned start date on the previous Friday, if the warehouse operates
+under a Mo-Fri working calendar.
diff --git a/mrp_warehouse_calendar/readme/USAGE.rst b/mrp_warehouse_calendar/readme/USAGE.rst
deleted file mode 100644
index 081b0392d..000000000
--- a/mrp_warehouse_calendar/readme/USAGE.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-When a manufacturing order is created out of a procurement evaluation
-(from an orderpoint, MTO,...) the calendar is considered in the computation
-of the planned start date of the manufacturing order.
-
-For example, if it takes 1 day to manufacture a product and it is required
-for Monday, the manufacturing order will be created with planned start date
-on the previous Friday, if the warehouse operates under a Mo-Fri working
-calendar.
diff --git a/mrp_warehouse_calendar/static/description/index.html b/mrp_warehouse_calendar/static/description/index.html
index 63de7538b..85b623854 100644
--- a/mrp_warehouse_calendar/static/description/index.html
+++ b/mrp_warehouse_calendar/static/description/index.html
@@ -369,11 +369,12 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ff4d842f23c3df422ec667756bc7cf292229ece485361f1a5caea6ee46b47a8a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

-With this module the manufacturing orders created from procurements consider
-the calendar assigned to the warehouse of the picking type of the
-manufacturing order to determine, based on the product’s manufacturing
-lead time, the planned start date of the manufacturing order.
+

+With this module the manufacturing orders created from procurements
+consider the calendar assigned to the warehouse of the picking type of
+the manufacturing order to determine, based on the product’s
+manufacturing lead time, the planned start date of the manufacturing
+order.
Further manual replannings of start/end date of the manufacturing order
also consider the lead time using the warehouse calendar days.
Table of contents
@@ -393,10 +394,11 @@ also consider the lead time using the warehouse calendar days.
-- This module depends on stock_warehouse_calendar
+- This module depends on
+stock_warehouse_calendar
- Go to Settings and activate the developer mode.
-- Go to Settings > Technical > Resource > Working Time and define your
-resource calendar.
+- Go to Settings > Technical > Resource > Working Time and define
+your resource calendar.
- Go to Inventory > Configuration > Warehouse Management > Warehouses
and assign the Resource Calendar.
@@ -404,19 +406,19 @@ and assign the Resource Calendar.
When a manufacturing order is created out of a procurement evaluation
-(from an orderpoint, MTO,…) the calendar is considered in the computation
-of the planned start date of the manufacturing order.
-
For example, if it takes 1 day to manufacture a product and it is required
-for Monday, the manufacturing order will be created with planned start date
-on the previous Friday, if the warehouse operates under a Mo-Fri working
-calendar.
+(from an orderpoint, MTO,…) the calendar is considered in the
+computation of the planned start date of the manufacturing order.
+
For example, if it takes 1 day to manufacture a product and it is
+required for Monday, the manufacturing order will be created with
+planned start date on the previous Friday, if the warehouse operates
+under a Mo-Fri working calendar.
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.