summaryrefslogtreecommitdiff
path: root/addons/stock
diff options
context:
space:
mode:
authorShreya Modi <smo@odoo.com>2019-06-19 10:28:20 +0000
committerShreya Modi <smo@odoo.com>2019-08-23 12:42:39 +0000
commitfaf0eb24ec64ff4e152aa025cdc80b6e3392f952 (patch)
treefd51cf9310ba9868be8719fbebafc298ec2a5e77 /addons/stock
parent976334dafb1e657be1c659afffb64cc311f15bff (diff)
[IMP] stock: allow to delete scrap items
-In the action menu, the manager has no rights to delete the scrap order thus added the access rights for the manager in the main csv file. task-1959647
Diffstat (limited to 'addons/stock')
-rw-r--r--addons/stock/security/ir.model.access.csv1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/stock/security/ir.model.access.csv b/addons/stock/security/ir.model.access.csv
index 599da9f91c9..596ac22548c 100644
--- a/addons/stock/security/ir.model.access.csv
+++ b/addons/stock/security/ir.model.access.csv
@@ -65,6 +65,7 @@ access_barcode_nomenclature_stock_manager,barcode.nomenclature.stock.manager,bar
access_barcode_rule_stock_user,barcode.rule.stock.user,barcodes.model_barcode_rule,stock.group_stock_user,1,0,0,0
access_barcode_rule_stock_manager,barcode.rule.stock.manager,barcodes.model_barcode_rule,stock.group_stock_manager,1,1,1,1
access_stock_scrap_user,stock.scrap.user,model_stock_scrap,stock.group_stock_user,1,1,1,0
+access_stock_scrap_manager,stock.scrap.manager,model_stock_scrap,stock.group_stock_manager,1,1,1,1
access_product_attribute_manager,product.attribute manager,product.model_product_attribute,stock.group_stock_manager,1,1,1,1
access_product_attribute_value_manager,product.attribute manager value,product.model_product_attribute_value,stock.group_stock_manager,1,1,1,1
access_product_product_attribute_manager,product.product.attribute manager value,product.model_product_template_attribute_value,stock.group_stock_manager,1,1,1,1