diff options
| author | Ravi Patel <rap@odoo.com> | 2016-08-09 16:36:14 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-09-16 13:36:06 +0200 |
| commit | acc1b4467ab5bbfe2f276ec1f5ebb57eb5372ffd (patch) | |
| tree | ff22eff75811432468eb6b4953e1936ab1aa3f2b /addons/stock/security/ir.model.access.csv | |
| parent | 0916b50c2974214c74ddc3a2005c9cdd04a2bfd0 (diff) | |
[IMP] product: Move products create and write access rights to related app managers
PURPOSE
=======
A lot of customer are struggling with the fact that from the SO lines their users sometimes type too fast the product name and end up by creating or selling products that are simply mistakes.
Only the sale/manager, subscription/manager, purchase/manager, mrp/manager, warehouse manager, event/manager, pos/manager and invoicing person should have access rights to create and update products.
SPECIFICATION
=============
Remove create and write rights on product_product, product_template and product_price_history for stock users and move these rights to the subcited apps managers
Diffstat (limited to 'addons/stock/security/ir.model.access.csv')
| -rw-r--r-- | addons/stock/security/ir.model.access.csv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/stock/security/ir.model.access.csv b/addons/stock/security/ir.model.access.csv index c763ed96870..090c74ab74c 100644 --- a/addons/stock/security/ir.model.access.csv +++ b/addons/stock/security/ir.model.access.csv @@ -22,8 +22,8 @@ access_stock_inventory_line_manager,stock.inventory.line manager,model_stock_inv access_stock_location_stock_manager,stock.location stock manager,model_stock_location,stock.group_stock_manager,1,0,0,0 access_stock_lines_date_user,report.stock.lines.date user,model_report_stock_lines_date,stock.group_stock_user,1,0,0,0 access_stock_lines_date_manager,report.stock.lines.date manager,model_report_stock_lines_date,stock.group_stock_manager,1,1,1,1 -access_product_product_stock_user,product_product_stock_user,product.model_product_product,stock.group_stock_user,1,1,1,0 -access_product_template_stock_user,product.template stock user,product.model_product_template,stock.group_stock_user,1,1,1,0 +access_product_product_stock_user,product_product_stock_user,product.model_product_product,stock.group_stock_user,1,0,0,0 +access_product_template_stock_user,product.template stock user,product.model_product_template,stock.group_stock_user,1,0,0,0 access_product_uom_categ_stock_manager,product.uom.categ stock_manager,product.model_product_uom_categ,stock.group_stock_manager,1,1,1,1 access_product_uom_stock_manager,product.uom stock_manager,product.model_product_uom,stock.group_stock_manager,1,1,1,1 access_product_category_stock_manager,product.category stock_manager,product.model_product_category,stock.group_stock_manager,1,1,1,1 @@ -66,7 +66,7 @@ access_stock_move_operation_link_all,stock.move.operation.link all users,model_s access_stock_pack_operation_lot_manager,stock.pack.operation.lot manager,model_stock_pack_operation_lot,stock.group_stock_manager,1,1,1,1 access_stock_pack_operation_lot_user,stock.pack.operation.lot user,model_stock_pack_operation_lot,stock.group_stock_user,1,1,1,1 access_stock_pack_operation_lot_all,stock.pack.operation.lot all users,model_stock_pack_operation_lot,base.group_user,1,1,1,1 -access_product_price_history_stock_user,prices.history stock user,product.model_product_price_history,stock.group_stock_user,1,0,1,0 +access_product_price_history_stock_user,prices.history stock user,product.model_product_price_history,stock.group_stock_user,1,0,0,0 access_product_price_history_stock_manager,prices.history stock manager,product.model_product_price_history,stock.group_stock_manager,1,1,1,1 access_barcode_nomenclature_stock_user,barcode.nomenclature.stock.user,barcodes.model_barcode_nomenclature,stock.group_stock_user,1,0,0,0 access_barcode_nomenclature_stock_manager,barcode.nomenclature.stock.manager,barcodes.model_barcode_nomenclature,stock.group_stock_manager,1,1,1,1 |
