[IMP] Remove full access on uom.uom and uom.category to sale manager, stock manager, purchase manager, POS manager, MRP manager

We only keep full access to uom.uom and uom.category to the group Administration/Configuration
This commit is contained in:
Alexis de Lattre
2025-05-08 12:18:30 +00:00
parent 47afd81567
commit a98490706f
8 changed files with 16 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
'website': 'http://www.akretion.com',
'depends': ['purchase'],
'data': [
'security/ir.model.access.csv',
'views/purchase_order.xml',
'views/purchase_report.xml',
'views/account_move.xml',

View File

@@ -0,0 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
purchase.access_uom_category_purchase_manager,Read access on uom.category (inherited in usability module to remove full access),uom.model_uom_category,purchase.group_purchase_manager,1,0,0,0
purchase.access_uom_uom_purchase_manager,Read access on uom.uom (inherited in usability module to remove full access),uom.model_uom_uom,purchase.group_purchase_manager,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 purchase.access_uom_category_purchase_manager Read access on uom.category (inherited in usability module to remove full access) uom.model_uom_category purchase.group_purchase_manager 1 0 0 0
3 purchase.access_uom_uom_purchase_manager Read access on uom.uom (inherited in usability module to remove full access) uom.model_uom_uom purchase.group_purchase_manager 1 0 0 0