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/account/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/account/security/ir.model.access.csv')
| -rw-r--r-- | addons/account/security/ir.model.access.csv | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/account/security/ir.model.access.csv b/addons/account/security/ir.model.access.csv index 7a1e54c6170..a0955a5482c 100644 --- a/addons/account/security/ir.model.access.csv +++ b/addons/account/security/ir.model.access.csv @@ -1,5 +1,8 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_product_product_account_user,product.product.account.user,product.model_product_product,group_account_user,1,0,0,0 +access_product_product_account_manager,product.product.account.manager,product.model_product_product,account.group_account_manager,1,1,1,1 +access_product_template_account_manager,product.template.account.manager,product.model_product_template,account.group_account_manager,1,1,1,1 +access_product_price_history_account_manager,product.price.history.account.manager,product.model_product_price_history,account.group_account_manager,1,1,1,1 access_account_payment_term,account.payment.term,model_account_payment_term,account.group_account_user,1,0,0,0 access_account_payment_term_line,account.payment.term.line,model_account_payment_term_line,account.group_account_user,1,0,0,0 access_account_account_type_manager,account.account.type,model_account_account_type,account.group_account_manager,1,1,1,1 |
