[FIX] stock_delivery_planner: add access rules for stock planner wizard

This commit is contained in:
Cedric Collins
2021-09-13 22:38:46 -05:00
committed by Leo Pinedo
parent 93d2b1e376
commit 2462ca11ac
2 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ Re-rate deliveries at packing time to find lowest-priced delivery method that st
'stock',
],
'data': [
'security/ir.model.access.csv',
'views/stock_views.xml',
'wizard/stock_delivery_planner_views.xml',
],

View File

@@ -0,0 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_stock_delivery_planner_user,stock.delivery.planner user,model_stock_delivery_planner,stock.group_stock_user,1,1,1,0
access_stock_delivery_planner_option_user,stock.delivery.planner.option user,model_stock_delivery_planner_option,stock.group_stock_user,1,1,1,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_stock_delivery_planner_user stock.delivery.planner user model_stock_delivery_planner stock.group_stock_user 1 1 1 0
3 access_stock_delivery_planner_option_user stock.delivery.planner.option user model_stock_delivery_planner_option stock.group_stock_user 1 1 1 0