[12.0][MIG] product_unit_manager_group + rename

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.
This commit is contained in:
clementmbr
2020-05-13 18:02:04 -03:00
parent e96c3d72eb
commit 16424a6897
16 changed files with 656 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="module_category_uom" model="ir.module.category">
<field name="name">Units of Measure</field>
<field name="description">Enable using any units of measure</field>
<field name="sequence">0</field>
</record>
</odoo>