diff --git a/stock_inventory/README.rst b/stock_inventory/README.rst index 2cab15154f0d..6d9194c5f1c4 100644 --- a/stock_inventory/README.rst +++ b/stock_inventory/README.rst @@ -17,18 +17,19 @@ Stock Inventory Adjustment :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_inventory + :target: https://github.com/OCA/stock-logistics-warehouse/tree/17.0/stock_inventory :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_inventory + :target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_inventory :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 allows to group Inventory Adjustments and have a group traceability (like before Odoo 15.0). +This module allows to group Inventory Adjustments and have a group +traceability (like before Odoo 15.0). **Table of contents** @@ -38,15 +39,17 @@ This module allows to group Inventory Adjustments and have a group traceability Usage ===== -Go to Inventory / Operations / Inventory Adjustments. Here you can see the list of Adjustment Grouped. -If you create a new Group, you can choose 2 types of product selection: -- All Products (all products from theselected locations). -- Manual Selection (choose manually each product in location). -- One Product (choose only one product in locations). -- Lot Serial Number (choose one product, any lots and locations). -- Product Category (choose one product category [childs also taken into account]). -When you start the adjustment (only one at a time) clicking on adjustments gets you to the view where adjustments are made. -From the group view, if you click on Stock Moves you can see the movements done (includes the 0 qty moves). +Go to Inventory / Operations / Inventory Adjustments. Here you can see +the list of Adjustment Grouped. If you create a new Group, you can +choose 2 types of product selection: - All Products (all products from +theselected locations). - Manual Selection (choose manually each product +in location). - One Product (choose only one product in locations). - +Lot Serial Number (choose one product, any lots and locations). - +Product Category (choose one product category [childs also taken into +account]). When you start the adjustment (only one at a time) clicking +on adjustments gets you to the view where adjustments are made. From the +group view, if you click on Stock Moves you can see the movements done +(includes the 0 qty moves). Bug Tracker =========== @@ -54,7 +57,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. @@ -62,21 +65,21 @@ Credits ======= Authors -~~~~~~~ +------- * ForgeFlow Contributors -~~~~~~~~~~~~ +------------ -* `ForgeFlow `_: +- `ForgeFlow `__: - * David Jiménez - * Guillem Casassas - * Urvisha Desai + - David Jiménez + - Guillem Casassas + - Urvisha Desai Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -88,6 +91,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. +This module is part of the `OCA/stock-logistics-warehouse `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_inventory/models/stock_inventory.py b/stock_inventory/models/stock_inventory.py index f46f3c29d13b..72f8e449699b 100644 --- a/stock_inventory/models/stock_inventory.py +++ b/stock_inventory/models/stock_inventory.py @@ -154,9 +154,7 @@ def _compute_count_stock_quants(self): quants_to_do = quants.filtered(lambda q: q.to_do) count_todo = len(quants_to_do) rec.count_stock_quants = len(quants) - rec.count_stock_quants_string = "{} / {}".format( - count_todo, rec.count_stock_quants - ) + rec.count_stock_quants_string = f"{count_todo} / {rec.count_stock_quants}" @api.depends("stock_move_ids") def _compute_count_stock_moves(self): diff --git a/stock_inventory/pyproject.toml b/stock_inventory/pyproject.toml new file mode 100644 index 000000000000..4231d0cccb3d --- /dev/null +++ b/stock_inventory/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/stock_inventory/readme/CONTRIBUTORS.md b/stock_inventory/readme/CONTRIBUTORS.md new file mode 100644 index 000000000000..be4f8a9ae3f6 --- /dev/null +++ b/stock_inventory/readme/CONTRIBUTORS.md @@ -0,0 +1,4 @@ +- [ForgeFlow](https://www.forgeflow.com): + - David Jiménez \<\> + - Guillem Casassas \<\> + - Urvisha Desai \<\> diff --git a/stock_inventory/readme/CONTRIBUTORS.rst b/stock_inventory/readme/CONTRIBUTORS.rst deleted file mode 100644 index 81f838605da1..000000000000 --- a/stock_inventory/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,5 +0,0 @@ -* `ForgeFlow `_: - - * David Jiménez - * Guillem Casassas - * Urvisha Desai diff --git a/stock_inventory/readme/DESCRIPTION.rst b/stock_inventory/readme/DESCRIPTION.md similarity index 60% rename from stock_inventory/readme/DESCRIPTION.rst rename to stock_inventory/readme/DESCRIPTION.md index ca91fe8f2dd0..7d7f5b74b901 100644 --- a/stock_inventory/readme/DESCRIPTION.rst +++ b/stock_inventory/readme/DESCRIPTION.md @@ -1 +1,2 @@ -This module allows to group Inventory Adjustments and have a group traceability (like before Odoo 15.0). +This module allows to group Inventory Adjustments and have a group +traceability (like before Odoo 15.0). diff --git a/stock_inventory/readme/USAGE.md b/stock_inventory/readme/USAGE.md new file mode 100644 index 000000000000..7ec739eae456 --- /dev/null +++ b/stock_inventory/readme/USAGE.md @@ -0,0 +1,11 @@ +Go to Inventory / Operations / Inventory Adjustments. Here you can see +the list of Adjustment Grouped. If you create a new Group, you can +choose 2 types of product selection: - All Products (all products from +theselected locations). - Manual Selection (choose manually each product +in location). - One Product (choose only one product in locations). - +Lot Serial Number (choose one product, any lots and locations). - +Product Category (choose one product category \[childs also taken into +account\]). When you start the adjustment (only one at a time) clicking +on adjustments gets you to the view where adjustments are made. From the +group view, if you click on Stock Moves you can see the movements done +(includes the 0 qty moves). diff --git a/stock_inventory/readme/USAGE.rst b/stock_inventory/readme/USAGE.rst deleted file mode 100644 index fc0e36c07ff9..000000000000 --- a/stock_inventory/readme/USAGE.rst +++ /dev/null @@ -1,9 +0,0 @@ -Go to Inventory / Operations / Inventory Adjustments. Here you can see the list of Adjustment Grouped. -If you create a new Group, you can choose 2 types of product selection: -- All Products (all products from theselected locations). -- Manual Selection (choose manually each product in location). -- One Product (choose only one product in locations). -- Lot Serial Number (choose one product, any lots and locations). -- Product Category (choose one product category [childs also taken into account]). -When you start the adjustment (only one at a time) clicking on adjustments gets you to the view where adjustments are made. -From the group view, if you click on Stock Moves you can see the movements done (includes the 0 qty moves). diff --git a/stock_inventory/static/description/index.html b/stock_inventory/static/description/index.html index f1254d94984b..a2f220aebec1 100644 --- a/stock_inventory/static/description/index.html +++ b/stock_inventory/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -368,8 +369,9 @@

Stock Inventory Adjustment

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:cfe059e99226c57783ffcb151e7c48aa98b43edf6c8d7ce60eff3f1d6072eb00 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runboat

-

This module allows to group Inventory Adjustments and have a group traceability (like before Odoo 15.0).

+

Beta License: LGPL-3 OCA/stock-logistics-warehouse Translate me on Weblate Try me on Runboat

+

This module allows to group Inventory Adjustments and have a group +traceability (like before Odoo 15.0).

Table of contents

    @@ -385,22 +387,24 @@

    Stock Inventory Adjustment

Usage

-

Go to Inventory / Operations / Inventory Adjustments. Here you can see the list of Adjustment Grouped. -If you create a new Group, you can choose 2 types of product selection: -- All Products (all products from theselected locations). -- Manual Selection (choose manually each product in location). -- One Product (choose only one product in locations). -- Lot Serial Number (choose one product, any lots and locations). -- Product Category (choose one product category [childs also taken into account]). -When you start the adjustment (only one at a time) clicking on adjustments gets you to the view where adjustments are made. -From the group view, if you click on Stock Moves you can see the movements done (includes the 0 qty moves).

+

Go to Inventory / Operations / Inventory Adjustments. Here you can see +the list of Adjustment Grouped. If you create a new Group, you can +choose 2 types of product selection: - All Products (all products from +theselected locations). - Manual Selection (choose manually each product +in location). - One Product (choose only one product in locations). - +Lot Serial Number (choose one product, any lots and locations). - +Product Category (choose one product category [childs also taken into +account]). When you start the adjustment (only one at a time) clicking +on adjustments gets you to the view where adjustments are made. From the +group view, if you click on Stock Moves you can see the movements done +(includes the 0 qty moves).

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.

@@ -425,11 +429,13 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

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

+

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

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