From 4a01f9b7d3697f55a5a81b15b49ee5206733b6ed Mon Sep 17 00:00:00 2001 From: Morita Shinnosuke Date: Tue, 14 Jul 2026 07:59:52 +0000 Subject: [PATCH] [7006][ADD] stock_inventory_hide_apply_all Add a module that hides the 'Apply All' button on the inventory adjustment list so that counted quantities are applied and reviewed line by line instead of committing them in bulk. --- stock_inventory_hide_apply_all/README.rst | 76 +++ stock_inventory_hide_apply_all/__init__.py | 0 .../__manifest__.py | 14 + stock_inventory_hide_apply_all/pyproject.toml | 3 + .../readme/CONTEXT.md | 8 + .../readme/CONTRIBUTORS.md | 2 + .../readme/DESCRIPTION.md | 1 + .../static/description/index.html | 432 ++++++++++++++++++ .../views/stock_quant_views.xml | 13 + 9 files changed, 549 insertions(+) create mode 100644 stock_inventory_hide_apply_all/README.rst create mode 100644 stock_inventory_hide_apply_all/__init__.py create mode 100644 stock_inventory_hide_apply_all/__manifest__.py create mode 100644 stock_inventory_hide_apply_all/pyproject.toml create mode 100644 stock_inventory_hide_apply_all/readme/CONTEXT.md create mode 100644 stock_inventory_hide_apply_all/readme/CONTRIBUTORS.md create mode 100644 stock_inventory_hide_apply_all/readme/DESCRIPTION.md create mode 100644 stock_inventory_hide_apply_all/static/description/index.html create mode 100644 stock_inventory_hide_apply_all/views/stock_quant_views.xml diff --git a/stock_inventory_hide_apply_all/README.rst b/stock_inventory_hide_apply_all/README.rst new file mode 100644 index 00000000..8144eb2c --- /dev/null +++ b/stock_inventory_hide_apply_all/README.rst @@ -0,0 +1,76 @@ +============================== +Stock Inventory Hide Apply All +============================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:dc4f2f7c4ff5591834df7bfe74ff3b341a0fd490cbb9d5de4ec0da2e9e2805f4 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Fhls--custom-lightgray.png?logo=github + :target: https://github.com/qrtl/hls-custom/tree/18.0/stock_inventory_hide_apply_all + :alt: qrtl/hls-custom + +|badge1| |badge2| |badge3| + +This module hides the **Apply All** button on the inventory adjustment +list. + +**Table of contents** + +.. contents:: + :local: + +Use Cases / Context +=================== + +On the inventory adjustment list, the **Apply All** button applies the +counted quantity of every line at once. When many lines are counted, +this makes it easy to commit stock adjustments in bulk without reviewing +each line, which can lead to unintended changes that are hard to trace +afterwards. + +Some organizations therefore want counts to be applied and reviewed line +by line, using the per-line **Apply** action only. This module removes +the bulk **Apply All** button from the view to enforce that workflow. + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Quartile + +Contributors +------------ + +- `Quartile `__: + + - Shinnosuke Morita + +Maintainers +----------- + +This module is part of the `qrtl/hls-custom `_ project on GitHub. + +You are welcome to contribute. diff --git a/stock_inventory_hide_apply_all/__init__.py b/stock_inventory_hide_apply_all/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/stock_inventory_hide_apply_all/__manifest__.py b/stock_inventory_hide_apply_all/__manifest__.py new file mode 100644 index 00000000..98deec39 --- /dev/null +++ b/stock_inventory_hide_apply_all/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2026 Quartile (https://www.quartile.co) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Stock Inventory Hide Apply All", + "summary": "Hide the 'Apply All' button on the inventory adjustment list", + "version": "18.0.1.0.0", + "author": "Quartile", + "website": "https://www.quartile.co", + "category": "Warehouse Management", + "license": "AGPL-3", + "depends": ["stock"], + "data": ["views/stock_quant_views.xml"], + "installable": True, +} diff --git a/stock_inventory_hide_apply_all/pyproject.toml b/stock_inventory_hide_apply_all/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/stock_inventory_hide_apply_all/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/stock_inventory_hide_apply_all/readme/CONTEXT.md b/stock_inventory_hide_apply_all/readme/CONTEXT.md new file mode 100644 index 00000000..d33d0962 --- /dev/null +++ b/stock_inventory_hide_apply_all/readme/CONTEXT.md @@ -0,0 +1,8 @@ +On the inventory adjustment list, the **Apply All** button applies the counted +quantity of every line at once. When many lines are counted, this makes it easy +to commit stock adjustments in bulk without reviewing each line, which can lead +to unintended changes that are hard to trace afterwards. + +Some organizations therefore want counts to be applied and reviewed line by +line, using the per-line **Apply** action only. This module removes the bulk +**Apply All** button from the view to enforce that workflow. diff --git a/stock_inventory_hide_apply_all/readme/CONTRIBUTORS.md b/stock_inventory_hide_apply_all/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..260160c7 --- /dev/null +++ b/stock_inventory_hide_apply_all/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- [Quartile](https://www.quartile.co): + - Shinnosuke Morita diff --git a/stock_inventory_hide_apply_all/readme/DESCRIPTION.md b/stock_inventory_hide_apply_all/readme/DESCRIPTION.md new file mode 100644 index 00000000..60886c72 --- /dev/null +++ b/stock_inventory_hide_apply_all/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module hides the **Apply All** button on the inventory adjustment list. diff --git a/stock_inventory_hide_apply_all/static/description/index.html b/stock_inventory_hide_apply_all/static/description/index.html new file mode 100644 index 00000000..40ae4b53 --- /dev/null +++ b/stock_inventory_hide_apply_all/static/description/index.html @@ -0,0 +1,432 @@ + + + + + + +Stock Inventory Hide Apply All + + + +
+

Stock Inventory Hide Apply All

+ + +

Beta License: AGPL-3 qrtl/hls-custom

+

This module hides the Apply All button on the inventory adjustment +list.

+

Table of contents

+ +
+

Use Cases / Context

+

On the inventory adjustment list, the Apply All button applies the +counted quantity of every line at once. When many lines are counted, +this makes it easy to commit stock adjustments in bulk without reviewing +each line, which can lead to unintended changes that are hard to trace +afterwards.

+

Some organizations therefore want counts to be applied and reviewed line +by line, using the per-line Apply action only. This module removes +the bulk Apply All button from the view to enforce that workflow.

+
+
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Quartile
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the qrtl/hls-custom project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/stock_inventory_hide_apply_all/views/stock_quant_views.xml b/stock_inventory_hide_apply_all/views/stock_quant_views.xml new file mode 100644 index 00000000..bb1037ed --- /dev/null +++ b/stock_inventory_hide_apply_all/views/stock_quant_views.xml @@ -0,0 +1,13 @@ + + + + stock.quant.inventory.list.editable.hide.apply.all + stock.quant + + + + 1 + + + +