[IMP] mrp_warehouse_calendar: black, isort, prettier

This commit is contained in:
JasminSForgeFlow
2024-03-12 10:53:18 +05:30
committed by RicardCForgeFlow
parent 98fb390482
commit 006700ed15
11 changed files with 74 additions and 71 deletions

View File

@@ -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 <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.
- 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.
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 <https://github.com/OCA/manufacture/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 <https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_warehouse_calendar%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_warehouse_calendar%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
@@ -80,18 +79,18 @@ Credits
=======
Authors
~~~~~~~
-------
* ForgeFlow
Contributors
~~~~~~~~~~~~
------------
* Jordi Ballester <jordi.ballester@forgeflow.com>
* Lois Rilo <lois.rilo@forgeflow.com>
- Jordi Ballester <jordi.ballester@forgeflow.com>
- Lois Rilo <lois.rilo@forgeflow.com>
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@@ -111,6 +110,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-JordiBForgeFlow|
This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/16.0/mrp_warehouse_calendar>`_ project on GitHub.
This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/17.0/mrp_warehouse_calendar>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"

View File

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

View File

@@ -1,9 +0,0 @@
* 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.

View File

@@ -0,0 +1,2 @@
- Jordi Ballester \<<jordi.ballester@forgeflow.com>\>
- Lois Rilo \<<lois.rilo@forgeflow.com>\>

View File

@@ -1,2 +0,0 @@
* Jordi Ballester <jordi.ballester@forgeflow.com>
* Lois Rilo <lois.rilo@forgeflow.com>

View File

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

View File

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

View File

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

View File

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

View File

@@ -369,11 +369,12 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ff4d842f23c3df422ec667756bc7cf292229ece485361f1a5caea6ee46b47a8a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/manufacture/tree/16.0/mrp_warehouse_calendar"><img alt="OCA/manufacture" src="https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_warehouse_calendar"><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/manufacture&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>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 products manufacturing
lead time, the planned start date of the manufacturing order.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/manufacture/tree/17.0/mrp_warehouse_calendar"><img alt="OCA/manufacture" src="https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/manufacture-17-0/manufacture-17-0-mrp_warehouse_calendar"><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/manufacture&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>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 products
manufacturing lead time, the planned start date of the manufacturing
order.</p>
<p>Further manual replannings of start/end date of the manufacturing order
also consider the lead time using the warehouse calendar days.</p>
<p><strong>Table of contents</strong></p>
@@ -393,10 +394,11 @@ also consider the lead time using the warehouse calendar days.</p>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<ul class="simple">
<li>This module depends on <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse">stock_warehouse_calendar</a></li>
<li>This module depends on
<a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse">stock_warehouse_calendar</a></li>
<li>Go to <em>Settings</em> and activate the developer mode.</li>
<li>Go to <em>Settings &gt; Technical &gt; Resource &gt; Working Time</em> and define your
resource calendar.</li>
<li>Go to <em>Settings &gt; Technical &gt; Resource &gt; Working Time</em> and define
your resource calendar.</li>
<li>Go to <em>Inventory &gt; Configuration &gt; Warehouse Management &gt; Warehouses</em>
and assign the Resource Calendar.</li>
</ul>
@@ -404,19 +406,19 @@ and assign the Resource Calendar.</li>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>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.</p>
<p>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.</p>
(from an orderpoint, MTO,…) the calendar is considered in the
computation of the planned start date of the manufacturing order.</p>
<p>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.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/manufacture/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_warehouse_calendar%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_warehouse_calendar%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
@@ -443,7 +445,7 @@ mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/JordiBForgeFlow"><img alt="JordiBForgeFlow" src="https://github.com/JordiBForgeFlow.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/manufacture/tree/16.0/mrp_warehouse_calendar">OCA/manufacture</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/manufacture/tree/17.0/mrp_warehouse_calendar">OCA/manufacture</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>