From 46ed844f8233542670f243a377e5aafd137988e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nedas=20=C5=BDilinskas?= Date: Tue, 7 May 2024 09:10:26 +0300 Subject: [PATCH] [IMP] stock_available_unreserved: pre-commit auto fixes --- stock_available_unreserved/README.rst | 43 ++++++++++--------- .../models/product_product.py | 1 - stock_available_unreserved/pyproject.toml | 3 ++ .../readme/CONTRIBUTORS.md | 6 +++ .../readme/CONTRIBUTORS.rst | 6 --- .../readme/DESCRIPTION.md | 11 +++++ .../readme/DESCRIPTION.rst | 10 ----- .../static/description/index.html | 22 +++++----- 8 files changed, 53 insertions(+), 49 deletions(-) create mode 100644 stock_available_unreserved/pyproject.toml create mode 100644 stock_available_unreserved/readme/CONTRIBUTORS.md delete mode 100644 stock_available_unreserved/readme/CONTRIBUTORS.rst create mode 100644 stock_available_unreserved/readme/DESCRIPTION.md delete mode 100644 stock_available_unreserved/readme/DESCRIPTION.rst diff --git a/stock_available_unreserved/README.rst b/stock_available_unreserved/README.rst index f7d4a6fd..c0d611e5 100644 --- a/stock_available_unreserved/README.rst +++ b/stock_available_unreserved/README.rst @@ -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** @@ -50,7 +51,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. @@ -58,22 +59,22 @@ Credits ======= Authors -~~~~~~~ +------- * ForgeFlow Contributors -~~~~~~~~~~~~ +------------ -* Jordi Ballester Alomar -* Stefan Rijnhart -* Mykhailo Panarin -* Atte Isopuro -* Lois Rilo -* Souheil Bejaoui +- Jordi Ballester Alomar +- Stefan Rijnhart +- Mykhailo Panarin +- Atte Isopuro +- Lois Rilo +- Souheil Bejaoui Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -93,6 +94,6 @@ Current `maintainer `__: |maintainer-LoisRForgeFlow| -This module is part of the `OCA/stock-logistics-availability `_ project on GitHub. +This module is part of the `OCA/stock-logistics-availability `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_available_unreserved/models/product_product.py b/stock_available_unreserved/models/product_product.py index 09eaa4fd..adc315bb 100644 --- a/stock_available_unreserved/models/product_product.py +++ b/stock_available_unreserved/models/product_product.py @@ -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() diff --git a/stock_available_unreserved/pyproject.toml b/stock_available_unreserved/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/stock_available_unreserved/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/stock_available_unreserved/readme/CONTRIBUTORS.md b/stock_available_unreserved/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..f72510d8 --- /dev/null +++ b/stock_available_unreserved/readme/CONTRIBUTORS.md @@ -0,0 +1,6 @@ +- Jordi Ballester Alomar \<\> +- Stefan Rijnhart \<\> +- Mykhailo Panarin \<\> +- Atte Isopuro \<\> +- Lois Rilo \<\> +- Souheil Bejaoui \<\> diff --git a/stock_available_unreserved/readme/CONTRIBUTORS.rst b/stock_available_unreserved/readme/CONTRIBUTORS.rst deleted file mode 100644 index 89f65c1b..00000000 --- a/stock_available_unreserved/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,6 +0,0 @@ -* Jordi Ballester Alomar -* Stefan Rijnhart -* Mykhailo Panarin -* Atte Isopuro -* Lois Rilo -* Souheil Bejaoui diff --git a/stock_available_unreserved/readme/DESCRIPTION.md b/stock_available_unreserved/readme/DESCRIPTION.md new file mode 100644 index 00000000..44106f03 --- /dev/null +++ b/stock_available_unreserved/readme/DESCRIPTION.md @@ -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. diff --git a/stock_available_unreserved/readme/DESCRIPTION.rst b/stock_available_unreserved/readme/DESCRIPTION.rst deleted file mode 100644 index b5dfb2b6..00000000 --- a/stock_available_unreserved/readme/DESCRIPTION.rst +++ /dev/null @@ -1,10 +0,0 @@ -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. diff --git a/stock_available_unreserved/static/description/index.html b/stock_available_unreserved/static/description/index.html index 92d3028b..c483b9c0 100644 --- a/stock_available_unreserved/static/description/index.html +++ b/stock_available_unreserved/static/description/index.html @@ -1,4 +1,3 @@ - @@ -369,15 +368,16 @@

Stock Available Unreserved

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:e9592a1ce52f72ad1b8530a106134bc53d57a9b9554df3f861ad38ac5b62ed56 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Production/Stable License: LGPL-3 OCA/stock-logistics-availability Translate me on Weblate Try me on Runboat

-

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.

+

Production/Stable License: LGPL-3 OCA/stock-logistics-availability Translate me on Weblate Try me on Runboat

+

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.

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

Table of contents

    @@ -395,7 +395,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.

@@ -426,7 +426,7 @@

Maintainers

promote its widespread use.

Current maintainer:

LoisRForgeFlow

-

This module is part of the OCA/stock-logistics-availability project on GitHub.

+

This module is part of the OCA/stock-logistics-availability project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.