From 3095eb4d39711260b483771f04f0904d7f7a245a Mon Sep 17 00:00:00 2001 From: clesgow <quwo@odoo.com> Date: Thu, 10 Nov 2022 17:25:36 +0000 Subject: [PATCH] [FIX] mrp: Add ACL for users for workcenter capacity Add an ACL to allow read-only access for basic users to the workcenter capacities. This avoids an error in the bom overview opening with a simple MRP "user". closes odoo/odoo#104893 Related: odoo/enterprise#33613 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> --- addons/mrp/security/ir.model.access.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mrp/security/ir.model.access.csv b/addons/mrp/security/ir.model.access.csv index c50c3f47378f..505dfd86d860 100644 --- a/addons/mrp/security/ir.model.access.csv +++ b/addons/mrp/security/ir.model.access.csv @@ -62,3 +62,4 @@ access_mrp_production_split_multi,access.mrp.production.split.multi,model_mrp_pr access_mrp_production_split,access.mrp.production.split,model_mrp_production_split,mrp.group_mrp_user,1,1,1,0 access_mrp_production_split_line,access.mrp.production.split.line,model_mrp_production_split_line,mrp.group_mrp_user,1,1,1,1 access_mrp_workcenter_capacity_manager,mrp.workcenter.capacity.manager,model_mrp_workcenter_capacity,mrp.group_mrp_manager,1,1,1,1 +access_mrp_workcenter_capacity_group_user,mrp.workcenter.capacity,model_mrp_workcenter_capacity,mrp.group_mrp_user,1,0,0,0 -- GitLab