[FIX] stock: remove permission to create locations for partner managers
authorLoïc Bellier <lb@numerigraphe.com>
Thu, 10 Jul 2014 11:20:00 +0000 (13:20 +0200)
committerOlivier Dony <odo@openerp.com>
Thu, 10 Jul 2014 17:16:41 +0000 (19:16 +0200)
There's a big risk of mistake with the fast-create
feature and they don't need it

(Rebase of PR #1073)

addons/stock/security/ir.model.access.csv

index d89354c..a3bd5eb 100644 (file)
@@ -3,7 +3,7 @@ access_stock_incoterms_all,stock.incoterms all,model_stock_incoterms,,1,0,0,0
 access_stock_incoterms_manager,stock.incoterms manager,model_stock_incoterms,stock.group_stock_manager,1,1,1,1\r
 access_stock_warehouse_manager,stock.warehouse.manager,model_stock_warehouse,stock.group_stock_manager,1,1,1,1\r
 access_stock_warehouse_user,stock.warehouse.user,model_stock_warehouse,base.group_user,1,0,0,0\r
-access_stock_location__partner_manager,stock.location.partner.manager,model_stock_location,base.group_partner_manager,1,1,1,1\r
+access_stock_location__partner_manager,stock.location.partner.manager,model_stock_location,base.group_partner_manager,1,0,0,0\r
 access_stock_location_manager,stock.location.manager,model_stock_location,stock.group_stock_manager,1,1,1,1\r
 access_stock_location_user,stock.location.user,model_stock_location,base.group_user,1,0,0,0\r
 access_stock_journal_user,stock.journal.user,model_stock_journal,base.group_user,1,0,0,0\r