[FIX] stock: putaway stategy access rights

Only admin was able to create product.putaway records. Gives all access
to warehouse manager.
If a putaway strategy was present on a location, a warehouse user was not able
to transfer goods as he had no access to the rule lines (no read to
stock.fixed.putaway.strat). Give read access. opw 619774
This commit is contained in:
Akash Balar 2015-01-12 16:18:20 +05:30 committed by Martin Trigaux
parent e28e01a70f
commit 88ace35fa4
1 changed files with 2 additions and 0 deletions

View File

@ -68,8 +68,10 @@ access_stock_pack_operation_manager,stock.pack.operation manager,model_stock_pac
access_stock_pack_operation_user,stock.pack.operation user,model_stock_pack_operation,stock.group_stock_user,1,1,1,1
access_stock_pack_operation_all,stock.pack.operation all users,model_stock_pack_operation,base.group_user,1,0,0,0
access_product_putaway_all,product.putaway all users,model_product_putaway,base.group_user,1,0,0,0
access_product_putaway_manager,product.putaway all managers,model_product_putaway,stock.group_stock_manager,1,1,1,1
access_stock_removal_all,product.removal all users,model_product_removal,base.group_user,1,0,0,0
access_stock_fixed_putaway_strat,stock_fixed_putaway_strat managers,model_stock_fixed_putaway_strat,stock.group_stock_manager,1,1,1,1
access_stock_fixed_putaway_user,stock_fixed_putaway_strat user,model_stock_fixed_putaway_strat,stock.group_stock_user,1,0,0,0
access_stock_move_operation_link_manager,stock.move.operation.link manager,model_stock_move_operation_link,stock.group_stock_manager,1,1,1,1
access_stock_move_operation_link_user,stock.move.operation.link user,model_stock_move_operation_link,stock.group_stock_user,1,1,1,1
access_stock_move_operation_link_all,stock.move.operation.link all users,model_stock_move_operation_link,base.group_user,1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
68 access_stock_pack_operation_user stock.pack.operation user model_stock_pack_operation stock.group_stock_user 1 1 1 1
69 access_stock_pack_operation_all stock.pack.operation all users model_stock_pack_operation base.group_user 1 0 0 0
70 access_product_putaway_all product.putaway all users model_product_putaway base.group_user 1 0 0 0
71 access_product_putaway_manager product.putaway all managers model_product_putaway stock.group_stock_manager 1 1 1 1
72 access_stock_removal_all product.removal all users model_product_removal base.group_user 1 0 0 0
73 access_stock_fixed_putaway_strat stock_fixed_putaway_strat managers model_stock_fixed_putaway_strat stock.group_stock_manager 1 1 1 1
74 access_stock_fixed_putaway_user stock_fixed_putaway_strat user model_stock_fixed_putaway_strat stock.group_stock_user 1 0 0 0
75 access_stock_move_operation_link_manager stock.move.operation.link manager model_stock_move_operation_link stock.group_stock_manager 1 1 1 1
76 access_stock_move_operation_link_user stock.move.operation.link user model_stock_move_operation_link stock.group_stock_user 1 1 1 1
77 access_stock_move_operation_link_all stock.move.operation.link all users model_stock_move_operation_link base.group_user 1 0 0 0