[FIX] mrp_repair: Access Rights for stock user

Due to this commit: 6e93fe0de1
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
This commit is contained in:
Goffin Simon
2018-08-06 13:50:22 +02:00
parent 84abc9d06c
commit 7d50f2e902
@@ -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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
7 access_mrp_repair_fee_manager MRP Repair Fee manager model_mrp_repair_fee stock.group_stock_manager 1 0 0 0
8 access_mrp_repair_user MRP Repair user model_mrp_repair stock.group_stock_user 1 1 1 1
9 access_mrp_repair_manager MRP Repair manager model_mrp_repair stock.group_stock_manager 1 0 0 0
10 access_product_pricelist_manager access_product_pricelist_user product.pricelist manager product.pricelist user product.model_product_pricelist stock.group_stock_manager stock.group_stock_user 1 0 0 0
access_product_pricelist_user product.pricelist user product.model_product_pricelist stock.group_stock_user 1 1 1 1
11 access_stock_production_lot_user stock.production.lot user stock.model_stock_production_lot stock.group_stock_user 1 1 1 1
12 access_stock_production_lot_manager stock.production.lot manager stock.model_stock_production_lot stock.group_stock_manager 1 0 0 0
13 access_mrp_repair_line_user mrp.repair.line user model_mrp_repair_line stock.group_stock_user 1 1 1 1