From 7d50f2e902a38279cdaee74ae89b703028b9399a Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Thu, 2 Aug 2018 10:52:49 +0200 Subject: [PATCH] [FIX] mrp_repair: Access Rights for stock user Due to this commit: 6e93fe0de1c926ee5593c6632c7336ab0c9dd514 the stock user has the all rights on model 'product.pricelist' As the repair order model has the field pricelist_id on it, the stock user must have the right to read it. opw:1865814 --- addons/mrp_repair/security/ir.model.access.csv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/mrp_repair/security/ir.model.access.csv b/addons/mrp_repair/security/ir.model.access.csv index 89a7d680ae0..49fd83f0477 100644 --- a/addons/mrp_repair/security/ir.model.access.csv +++ b/addons/mrp_repair/security/ir.model.access.csv @@ -7,8 +7,7 @@ access_mrp_repair_fee_user,MRP Repair Fee user,model_mrp_repair_fee,stock.group_ access_mrp_repair_fee_manager,MRP Repair Fee manager,model_mrp_repair_fee,stock.group_stock_manager,1,0,0,0 access_mrp_repair_user,MRP Repair user,model_mrp_repair,stock.group_stock_user,1,1,1,1 access_mrp_repair_manager,MRP Repair manager,model_mrp_repair,stock.group_stock_manager,1,0,0,0 -access_product_pricelist_manager,product.pricelist manager,product.model_product_pricelist,stock.group_stock_manager,1,0,0,0 -access_product_pricelist_user,product.pricelist user,product.model_product_pricelist,stock.group_stock_user,1,1,1,1 +access_product_pricelist_user,product.pricelist user,product.model_product_pricelist,stock.group_stock_user,1,0,0,0 access_stock_production_lot_user,stock.production.lot user,stock.model_stock_production_lot,stock.group_stock_user,1,1,1,1 access_stock_production_lot_manager,stock.production.lot manager,stock.model_stock_production_lot,stock.group_stock_manager,1,0,0,0 access_mrp_repair_line_user,mrp.repair.line user,model_mrp_repair_line,stock.group_stock_user,1,1,1,1