Skip to content

Commit

Permalink
[IMP] stock_available_unreserved: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nedas Žilinskas committed May 7, 2024
1 parent 0d4a581 commit 46ed844
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 49 deletions.
43 changes: 22 additions & 21 deletions stock_available_unreserved/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,28 @@ Stock Available Unreserved
: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--availability-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-availability/tree/16.0/stock_available_unreserved
:target: https://github.com/OCA/stock-logistics-availability/tree/17.0/stock_available_unreserved
:alt: OCA/stock-logistics-availability
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_unreserved
:target: https://translation.odoo-community.org/projects/stock-logistics-availability-17-0/stock-logistics-availability-17-0-stock_available_unreserved
: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-availability&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-availability&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows users to check the quantity of a stocked product that is
available on-hand, and that has not yet been reserved for use anywhere else.
This module allows users to check the quantity of a stocked product that
is available on-hand, and that has not yet been reserved for use
anywhere else.

This key figure is very important during the monitoring of the warehouse
execution, because it assists users to ensure that the flow of products will
not be stuck due to a sudden unavailability of stock.
execution, because it assists users to ensure that the flow of products
will not be stuck due to a sudden unavailability of stock.

If the warehouse personnel ensures that the unreserved quantity on hand > 0,
then nobody will be stuck in pickings or manufacturing orders waiting for
the availability of unreserved stock.
If the warehouse personnel ensures that the unreserved quantity on hand
> 0, then nobody will be stuck in pickings or manufacturing orders
waiting for the availability of unreserved stock.

**Table of contents**

Expand All @@ -50,30 +51,30 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-availability/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-availability/issues/new?body=module:%20stock_available_unreserved%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-availability/issues/new?body=module:%20stock_available_unreserved%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.

Credits
=======

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

* ForgeFlow

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

* Jordi Ballester Alomar <[email protected]>
* Stefan Rijnhart <[email protected]>
* Mykhailo Panarin <[email protected]>
* Atte Isopuro <[email protected]>
* Lois Rilo <[email protected]>
* Souheil Bejaoui <[email protected]>
- Jordi Ballester Alomar <[email protected]>
- Stefan Rijnhart <[email protected]>
- Mykhailo Panarin <[email protected]>
- Atte Isopuro <[email protected]>
- Lois Rilo <[email protected]>
- Souheil Bejaoui <[email protected]>

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

This module is maintained by the OCA.

Expand All @@ -93,6 +94,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-LoisRForgeFlow|

This module is part of the `OCA/stock-logistics-availability <https://github.com/OCA/stock-logistics-availability/tree/16.0/stock_available_unreserved>`_ project on GitHub.
This module is part of the `OCA/stock-logistics-availability <https://github.com/OCA/stock-logistics-availability/tree/17.0/stock_available_unreserved>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 0 additions & 1 deletion stock_available_unreserved/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def _prepare_domain_available_not_reserved(self):
return domain_quant

def _compute_product_available_not_res_dict(self):

res = {}

domain_quant = self._prepare_domain_available_not_reserved()
Expand Down
3 changes: 3 additions & 0 deletions stock_available_unreserved/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
6 changes: 6 additions & 0 deletions stock_available_unreserved/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Jordi Ballester Alomar \<<[email protected]>\>
- Stefan Rijnhart \<<[email protected]>\>
- Mykhailo Panarin \<<[email protected]>\>
- Atte Isopuro \<<[email protected]>\>
- Lois Rilo \<<[email protected]>\>
- Souheil Bejaoui \<<[email protected]>\>
6 changes: 0 additions & 6 deletions stock_available_unreserved/readme/CONTRIBUTORS.rst

This file was deleted.

11 changes: 11 additions & 0 deletions stock_available_unreserved/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
This module allows users to check the quantity of a stocked product that
is available on-hand, and that has not yet been reserved for use
anywhere else.

This key figure is very important during the monitoring of the warehouse
execution, because it assists users to ensure that the flow of products
will not be stuck due to a sudden unavailability of stock.

If the warehouse personnel ensures that the unreserved quantity on hand
\> 0, then nobody will be stuck in pickings or manufacturing orders
waiting for the availability of unreserved stock.
10 changes: 0 additions & 10 deletions stock_available_unreserved/readme/DESCRIPTION.rst

This file was deleted.

22 changes: 11 additions & 11 deletions stock_available_unreserved/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -369,15 +368,16 @@ <h1 class="title">Stock Available Unreserved</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e9592a1ce52f72ad1b8530a106134bc53d57a9b9554df3f861ad38ac5b62ed56
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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-availability/tree/16.0/stock_available_unreserved"><img alt="OCA/stock-logistics-availability" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--availability-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-availability-16-0/stock-logistics-availability-16-0-stock_available_unreserved"><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-availability&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 allows users to check the quantity of a stocked product that is
available on-hand, and that has not yet been reserved for use anywhere else.</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-availability/tree/17.0/stock_available_unreserved"><img alt="OCA/stock-logistics-availability" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--availability-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-availability-17-0/stock-logistics-availability-17-0-stock_available_unreserved"><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-availability&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 allows users to check the quantity of a stocked product that
is available on-hand, and that has not yet been reserved for use
anywhere else.</p>
<p>This key figure is very important during the monitoring of the warehouse
execution, because it assists users to ensure that the flow of products will
not be stuck due to a sudden unavailability of stock.</p>
<p>If the warehouse personnel ensures that the unreserved quantity on hand &gt; 0,
then nobody will be stuck in pickings or manufacturing orders waiting for
the availability of unreserved stock.</p>
execution, because it assists users to ensure that the flow of products
will not be stuck due to a sudden unavailability of stock.</p>
<p>If the warehouse personnel ensures that the unreserved quantity on hand
&gt; 0, then nobody will be stuck in pickings or manufacturing orders
waiting for the availability of unreserved stock.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -395,7 +395,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-availability/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-availability/issues/new?body=module:%20stock_available_unreserved%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-availability/issues/new?body=module:%20stock_available_unreserved%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">
Expand Down Expand Up @@ -426,7 +426,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
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/LoisRForgeFlow"><img alt="LoisRForgeFlow" src="https://github.com/LoisRForgeFlow.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-availability/tree/16.0/stock_available_unreserved">OCA/stock-logistics-availability</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-availability/tree/17.0/stock_available_unreserved">OCA/stock-logistics-availability</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>
Expand Down

0 comments on commit 46ed844

Please sign in to comment.