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.
21 lines
1.0 KiB
ReStructuredText
21 lines
1.0 KiB
ReStructuredText
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:: ../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:: ../static/description/uom_manager_group-readme_2.png
|