Basic module migration and :
- rename module's name product_unit_manager_group into uom_manager_group
in order to follow the new separation between product and uom modules
in Odoo 12.0
- light refactor adding a group category "Units of Measure" with two
levels :
- nothing : neither UoM fields nor menus are displayed
- User : UoM fields are displayed but not Uom menus (Users are not
allowed to create or modify UoM)
- Manager : display both fields and UoM menus
The rest of the module philosophy is maintained. All the Sales
Manager, Stock Manager, MRP Manager have no more rights to create or
modify UoMs. Only "UoM Managers" can.
78 lines
3.1 KiB
ReStructuredText
78 lines
3.1 KiB
ReStructuredText
=============================
|
|
Unit of Measure Manager Group
|
|
=============================
|
|
|
|
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
!! This file is generated by oca-gen-addon-readme !!
|
|
!! changes will be overwritten. !!
|
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
.. |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-akretion%2Fodoo--usability-lightgray.png?logo=github
|
|
:target: https://github.com/akretion/odoo-usability/tree/12.0/uom_manager_group
|
|
:alt: akretion/odoo-usability
|
|
|
|
|badge1| |badge2| |badge3|
|
|
|
|
In Odoo, all a majority of modules "Managers" dealing with products (like Sales Manager,
|
|
Inventory Manager, Manufacturing Manager,...) have access rights to create/write/delete
|
|
Units of Measure whereas the Sale/Inventory/Manufacturing "Users" have only reading
|
|
rights... when part of the (misnamed) Technical group "Manage Multiple Units of Measure"
|
|
is activated.
|
|
|
|
This module helps to **clarify these UoM access rights** and groups by creating a new
|
|
group category called "Units of Measure" with two different groups :
|
|
|
|
- **User** : UoM fields are displayed but not Uom menus (Users are not allowed to create or modify UoM)
|
|
- **Manager** : display both fields and UoM menus
|
|
- and if nothing is selected, neither UoM fields nor menus are displayed
|
|
|
|
|
|
.. figure:: https://raw.githubusercontent.com/akretion/odoo-usability/12.0-mig-product-unit-manager-group/uom_manager_group/static/description/uom_manager_group-readme_1.png
|
|
|
|
By doing so, the module also remove create/write/delete rights from other module's
|
|
Managers in order to reserve these rights to the new "Units of Measure Manager" group :
|
|
|
|
.. figure:: https://raw.githubusercontent.com/akretion/odoo-usability/12.0-mig-product-unit-manager-group/uom_manager_group/static/description/uom_manager_group-readme_2.png
|
|
|
|
**Table of contents**
|
|
|
|
.. contents::
|
|
:local:
|
|
|
|
Usage
|
|
=====
|
|
|
|
Go to your User's Settings and select the desired acces right for the application
|
|
access "Units of Measure".
|
|
|
|
Bug Tracker
|
|
===========
|
|
|
|
Bugs are tracked on `GitHub Issues <https://github.com/akretion/odoo-usability/issues>`_.
|
|
In case of trouble, please check there if your issue has already been reported.
|
|
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
|
`feedback <https://github.com/akretion/odoo-usability/issues/new?body=module:%20uom_manager_group%0Aversion:%2012.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
|
|
~~~~~~~
|
|
|
|
* Akretion
|
|
|
|
Maintainers
|
|
~~~~~~~~~~~
|
|
|
|
This module is part of the `akretion/odoo-usability <https://github.com/akretion/odoo-usability/tree/12.0/uom_manager_group>`_ project on GitHub.
|
|
|
|
You are welcome to contribute.
|