Skip to content
Open
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
6 changes: 6 additions & 0 deletions setup/stock_reporting_access/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
116 changes: 116 additions & 0 deletions stock_reporting_access/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 Reporting Access
======================

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

.. |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--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_reporting_access
:alt: OCA/stock-logistics-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_reporting_access
: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-workflow&target_branch=16.0
:alt: Try me on Runboat

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

This module adds a new security group "Inventory Reporting Access" that grants
access to the Inventory > Reporting menu.

By default, only users with the Inventory Administrator role can access the
Reporting menu. This module allows you to grant reporting access to regular
Inventory Users without giving them full administrator privileges.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

#. Go to *Settings > Users & Companies > Groups*
#. Search for "Inventory Reporting Access"
#. Add users who should have access to inventory reporting to this group

The ``stock.valuation.layer`` model is restricted to Inventory Managers by
default. If ``stock_account`` is installed, the access rights for
``stock.valuation.layer`` should be added manually as necessary:

#. Go to *Settings > Technical > Models*
#. Search for ``stock.valuation.layer``
#. Open the model and go to the Access Rights tab
#. Add read-only permission for the "Inventory Reporting Access" group

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/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-workflow/issues/new?body=module:%20stock_reporting_access%0Aversion:%2016.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>`__:

* Aung Ko Ko Lin

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-yostashiro| image:: https://github.com/yostashiro.png?size=40px
:target: https://github.com/yostashiro
:alt: yostashiro
.. |maintainer-aungkokolin1997| image:: https://github.com/aungkokolin1997.png?size=40px
:target: https://github.com/aungkokolin1997
:alt: aungkokolin1997

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

|maintainer-yostashiro| |maintainer-aungkokolin1997|

This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_reporting_access>`_ 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_reporting_access/__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 Reporting Access",
"summary": "Add a security group for inventory reporting access",
"version": "16.0.1.0.0",
"category": "Inventory",
"license": "AGPL-3",
"author": "Quartile, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow",
"depends": ["stock"],
"data": [
"security/security.xml",
"views/stock_menu_views.xml",
],
"maintainers": ["yostashiro", "aungkokolin1997"],
"installable": True,
}
21 changes: 21 additions & 0 deletions stock_reporting_access/i18n/ja.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_reporting_access
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-07-24 01:52+0000\n"
"PO-Revision-Date: 2026-07-24 01:52+0000\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_reporting_access
#: model:res.groups,name:stock_reporting_access.group_stock_reporting_user
msgid "Inventory Reporting Access"
msgstr "在庫レポーティングアクセス"
3 changes: 3 additions & 0 deletions stock_reporting_access/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
14 changes: 14 additions & 0 deletions stock_reporting_access/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
To configure this module, you need to:

#. Go to *Settings > Users & Companies > Groups*
#. Search for "Inventory Reporting Access"
#. Add users who should have access to inventory reporting to this group

The ``stock.valuation.layer`` model is restricted to Inventory Managers by
default. If ``stock_account`` is installed, the access rights for
``stock.valuation.layer`` should be added manually as necessary:

#. Go to *Settings > Technical > Models*
#. Search for ``stock.valuation.layer``
#. Open the model and go to the Access Rights tab
#. Add read-only permission for the "Inventory Reporting Access" group
3 changes: 3 additions & 0 deletions stock_reporting_access/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Quartile <https://www.quartile.co>`__:

* Aung Ko Ko Lin
6 changes: 6 additions & 0 deletions stock_reporting_access/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This module adds a new security group "Inventory Reporting Access" that grants
access to the Inventory > Reporting menu.

By default, only users with the Inventory Administrator role can access the
Reporting menu. This module allows you to grant reporting access to regular
Inventory Users without giving them full administrator privileges.
11 changes: 11 additions & 0 deletions stock_reporting_access/security/security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="group_stock_reporting_user" model="res.groups">
<field name="name">Inventory Reporting Access</field>
<field name="category_id" ref="base.module_category_hidden" />
<field
name="implied_ids"
eval="[Command.link(ref('stock.group_stock_user'))]"
/>
</record>
</odoo>
Loading
Loading