Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 116 additions & 0 deletions stock_inventory_hide_apply_all/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==============================
Stock Inventory Hide Apply All
==============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a1c73f5ed3085cb526bfa12d2dce5e838a9c036d2a2602c41e4b4660272ba1d7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/18.0/stock_inventory_hide_apply_all
: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-18-0/stock-logistics-warehouse-18-0-stock_inventory_hide_apply_all
: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=18.0
:alt: Try me on Runboat

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

This module hides the **Apply All** button on the inventory adjustment
list by default. It can be shown again for specific users by granting
them the *Apply All Inventory Adjustments* group.

**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 hides the
bulk **Apply All** button from the view to enforce that workflow, while
still allowing it to be granted to trusted users through a dedicated
access group.

Usage
=====

By default the **Apply All** button is hidden for every user.

To let a specific user use it again, add them to the *Apply All
Inventory Adjustments* group (Settings > Users & Companies > Users, then
enable the group on the user).

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_inventory_hide_apply_all%0Aversion:%2018.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
-------

* Quartile

Contributors
------------

- `Quartile <https://www.quartile.co>`__:

- Shinnosuke Morita

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-smorita7749| image:: https://github.com/smorita7749.png?size=40px
:target: https://github.com/smorita7749
:alt: smorita7749

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-smorita7749|

This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/18.0/stock_inventory_hide_apply_all>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
19 changes: 19 additions & 0 deletions stock_inventory_hide_apply_all/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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",
"development_status": "Beta",
"category": "Inventory/Inventory",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"author": "Quartile, Odoo Community Association (OCA)",
"maintainers": ["smorita7749"],
"license": "AGPL-3",
"installable": True,
"depends": ["stock"],
"data": [
"security/security.xml",
"views/stock_quant_views.xml",
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_inventory_hide_apply_all
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: stock_inventory_hide_apply_all
#: model:res.groups,name:stock_inventory_hide_apply_all.group_stock_apply_all
msgid "Apply All Inventory Adjustments"
msgstr ""

#. module: stock_inventory_hide_apply_all
#: model:res.groups,comment:stock_inventory_hide_apply_all.group_stock_apply_all
msgid ""
"Users in this group can bulk-apply inventory adjustments using the \"Apply "
"All\" button on the inventory adjustment list."
msgstr ""
3 changes: 3 additions & 0 deletions stock_inventory_hide_apply_all/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
9 changes: 9 additions & 0 deletions stock_inventory_hide_apply_all/readme/CONTEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
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 hides the bulk
**Apply All** button from the view to enforce that workflow, while still
allowing it to be granted to trusted users through a dedicated access group.
2 changes: 2 additions & 0 deletions stock_inventory_hide_apply_all/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- [Quartile](https://www.quartile.co):
- Shinnosuke Morita
3 changes: 3 additions & 0 deletions stock_inventory_hide_apply_all/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module hides the **Apply All** button on the inventory adjustment list by
default. It can be shown again for specific users by granting them the *Apply
All Inventory Adjustments* group.
5 changes: 5 additions & 0 deletions stock_inventory_hide_apply_all/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
By default the **Apply All** button is hidden for every user.

To let a specific user use it again, add them to the *Apply All Inventory
Adjustments* group (Settings > Users & Companies > Users, then enable the group
on the user).
9 changes: 9 additions & 0 deletions stock_inventory_hide_apply_all/security/security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="group_stock_apply_all" model="res.groups">
<field name="name">Apply All Inventory Adjustments</field>
<field
name="comment"
>Users in this group can bulk-apply inventory adjustments using the "Apply All" button on the inventory adjustment list.</field>
</record>
</odoo>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading