[IMP] stock_warehouse_calendar: pre-commit auto fixes

This commit is contained in:
Frédéric GRALL
2024-01-25 10:17:32 +01:00
parent cb519308f2
commit 627d93afa1
12 changed files with 82 additions and 84 deletions

BIN
pandoc-3.1.11.1-1-amd64.deb Normal file

Binary file not shown.

View File

@@ -17,24 +17,24 @@ Stock 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%2Fstock--logistics--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_warehouse_calendar
:target: https://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_warehouse_calendar
:alt: OCA/stock-logistics-warehouse
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_warehouse_calendar
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_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/stock-logistics-warehouse&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-warehouse&target_branch=17.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
This module adds a Calendar to the Warehouse. This calendar can then used as
the basis of the proper computation of start/end dates based on lead times in
this and other modules.
This module adds a Calendar to the Warehouse. This calendar can then
used as the basis of the proper computation of start/end dates based on
lead times in this and other modules.
In this module, the calendar considered in the computation of start date of
stock moves and pickings created from procurements, where the lead time
is used.
In this module, the calendar considered in the computation of start date
of stock moves and pickings created from procurements, where the lead
time is used.
**Table of contents**
@@ -44,30 +44,27 @@ is used.
Configuration
=============
* 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.
* Go to *Inventory > Configuration > Settings* and in *Warehouse* mark
'Multi-Step Routes option'.
* Go to *Inventory > Configuration > Warehouse Management > Routes* and
set up the proper delays in the stock rules where 'action'
is 'Move From Another Location'.
- 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.
- Go to *Inventory > Configuration > Settings* and in *Warehouse* mark
'Multi-Step Routes option'.
- Go to *Inventory > Configuration > Warehouse Management > Routes* and
set up the proper delays in the stock rules where 'action' is 'Move
From Another Location'.
Usage
=====
When a picking is created out of a procurement evaluation (from an
orderpoint, MTO,...) the calendar is considered in the computation of the
expected date of the picking and moves. For example, if it takes 1 day to
execute a stock transfer from another warehouse and it is Monday, the picking
to resupply will be created with expected start date on the previous Friday,
if the warehouse operates under a Mo-Fri working calendar.
orderpoint, MTO,...) the calendar is considered in the computation of
the expected date of the picking and moves. For example, if it takes 1
day to execute a stock transfer from another warehouse and it is Monday,
the picking to resupply will be created with expected start date on the
previous Friday, if the warehouse operates under a Mo-Fri working
calendar.
Bug Tracker
===========
@@ -75,7 +72,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-warehouse/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/stock-logistics-warehouse/issues/new?body=module:%20stock_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/stock-logistics-warehouse/issues/new?body=module:%20stock_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.
@@ -83,19 +80,19 @@ Credits
=======
Authors
~~~~~~~
-------
* ForgeFlow
Contributors
~~~~~~~~~~~~
------------
* Jordi Ballester <jordi.ballester@forgeflow.com>
* Lois Rilo <lois.rilo@forgeflow.com>
* Joan Mateu <joan.mateu@forgeflow.com>
- Jordi Ballester <jordi.ballester@forgeflow.com>
- Lois Rilo <lois.rilo@forgeflow.com>
- Joan Mateu <joan.mateu@forgeflow.com>
Maintainers
~~~~~~~~~~~
-----------
This module is maintained by the OCA.
@@ -115,6 +112,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-JordiBForgeFlow|
This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_warehouse_calendar>`_ project on GitHub.
This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_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,10 @@
- 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.
- Go to *Inventory \> Configuration \> Settings* and in *Warehouse* mark
'Multi-Step Routes option'.
- Go to *Inventory \> Configuration \> Warehouse Management \> Routes*
and set up the proper delays in the stock rules where 'action' is
'Move From Another Location'.

View File

@@ -1,14 +0,0 @@
* 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.
* Go to *Inventory > Configuration > Settings* and in *Warehouse* mark
'Multi-Step Routes option'.
* Go to *Inventory > Configuration > Warehouse Management > Routes* and
set up the proper delays in the stock rules where 'action'
is 'Move From Another Location'.

View File

@@ -0,0 +1,3 @@
- Jordi Ballester \<<jordi.ballester@forgeflow.com>\>
- Lois Rilo \<<lois.rilo@forgeflow.com>\>
- Joan Mateu \<<joan.mateu@forgeflow.com>\>

View File

@@ -1,3 +0,0 @@
* Jordi Ballester <jordi.ballester@forgeflow.com>
* Lois Rilo <lois.rilo@forgeflow.com>
* Joan Mateu <joan.mateu@forgeflow.com>

View File

@@ -0,0 +1,7 @@
This module adds a Calendar to the Warehouse. This calendar can then
used as the basis of the proper computation of start/end dates based on
lead times in this and other modules.
In this module, the calendar considered in the computation of start date
of stock moves and pickings created from procurements, where the lead
time is used.

View File

@@ -1,7 +0,0 @@
This module adds a Calendar to the Warehouse. This calendar can then used as
the basis of the proper computation of start/end dates based on lead times in
this and other modules.
In this module, the calendar considered in the computation of start date of
stock moves and pickings created from procurements, where the lead time
is used.

View File

@@ -0,0 +1,7 @@
When a picking is created out of a procurement evaluation (from an
orderpoint, MTO,...) the calendar is considered in the computation of
the expected date of the picking and moves. For example, if it takes 1
day to execute a stock transfer from another warehouse and it is Monday,
the picking to resupply will be created with expected start date on the
previous Friday, if the warehouse operates under a Mo-Fri working
calendar.

View File

@@ -1,6 +0,0 @@
When a picking is created out of a procurement evaluation (from an
orderpoint, MTO,...) the calendar is considered in the computation of the
expected date of the picking and moves. For example, if it takes 1 day to
execute a stock transfer from another warehouse and it is Monday, the picking
to resupply will be created with expected start date on the previous Friday,
if the warehouse operates under a Mo-Fri working calendar.

View File

@@ -369,13 +369,13 @@ ul.auto-toc {
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:edc36f1398bb8291c606982b918585daa317c0c4eb42c7847085500fd33de00e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/stock-logistics-warehouse/tree/16.0/stock_warehouse_calendar"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_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/stock-logistics-warehouse&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>This module adds a Calendar to the Warehouse. This calendar can then used as
the basis of the proper computation of start/end dates based on lead times in
this and other modules.</p>
<p>In this module, the calendar considered in the computation of start date of
stock moves and pickings created from procurements, where the lead time
is used.</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/stock-logistics-warehouse/tree/17.0/stock_warehouse_calendar"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_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/stock-logistics-warehouse&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>This module adds a Calendar to the Warehouse. This calendar can then
used as the basis of the proper computation of start/end dates based on
lead times in this and other modules.</p>
<p>In this module, the calendar considered in the computation of start date
of stock moves and pickings created from procurements, where the lead
time is used.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
@@ -394,32 +394,33 @@ is used.</p>
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<ul class="simple">
<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>
<li>Go to <em>Inventory &gt; Configuration &gt; Settings</em> and in <em>Warehouse</em> mark
Multi-Step Routes option.</li>
<li>Go to <em>Inventory &gt; Configuration &gt; Warehouse Management &gt; Routes</em> and
set up the proper delays in the stock rules where action
is Move From Another Location.</li>
set up the proper delays in the stock rules where action is Move
From Another Location.</li>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>When a picking is created out of a procurement evaluation (from an
orderpoint, MTO,…) the calendar is considered in the computation of the
expected date of the picking and moves. For example, if it takes 1 day to
execute a stock transfer from another warehouse and it is Monday, the picking
to resupply will be created with expected start date on the previous Friday,
if the warehouse operates under a Mo-Fri working calendar.</p>
orderpoint, MTO,…) the calendar is considered in the computation of
the expected date of the picking and moves. For example, if it takes 1
day to execute a stock transfer from another warehouse and it is Monday,
the picking to resupply will be created with expected 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/stock-logistics-warehouse/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/stock-logistics-warehouse/issues/new?body=module:%20stock_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/stock-logistics-warehouse/issues/new?body=module:%20stock_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">
@@ -447,7 +448,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/stock-logistics-warehouse/tree/16.0/stock_warehouse_calendar">OCA/stock-logistics-warehouse</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_warehouse_calendar">OCA/stock-logistics-warehouse</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>