summaryrefslogtreecommitdiff
path: root/addons/product/security
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-07-10 13:42:17 +0200
committerXavier Morel <xmo@openerp.com>2014-07-11 13:32:46 +0200
commit6014d44b2ba081da7148f37c02d89132776785e2 (patch)
tree76696080f1bb7ac20c8e1510bcff307fd1ef8c14 /addons/product/security
parentf654a7719bd9dc420a9c9ffb9f34e37ba52e796c (diff)
[IMP] add read access to all users for product.pricelist.type
In new API, selection field value is checked (against the selection's possible values) at both read and write. For pricelist.type this requires read access to product.pricelist.type.
Diffstat (limited to 'addons/product/security')
-rw-r--r--addons/product/security/ir.model.access.csv2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/product/security/ir.model.access.csv b/addons/product/security/ir.model.access.csv
index e8c9bfd145e..fd9274df9e4 100644
--- a/addons/product/security/ir.model.access.csv
+++ b/addons/product/security/ir.model.access.csv
@@ -8,7 +8,7 @@ access_product_packaging_user,product.packaging.user,model_product_packaging,bas
access_product_supplierinfo_user,product.supplierinfo.user,model_product_supplierinfo,base.group_user,1,0,0,0
access_pricelist_partnerinfo_user,pricelist.partnerinfo.user,model_pricelist_partnerinfo,base.group_user,1,0,0,0
access_product_price_type_user,product.price.type.user,model_product_price_type,base.group_user,1,0,0,0
-access_product_pricelist_type_user,product.pricelist.type.user,model_product_pricelist_type,base.group_user,1,0,0,0
+access_product_pricelist_type_user,product.pricelist.type.user,model_product_pricelist_type,,1,0,0,0
access_product_pricelist_user,product.pricelist.user,model_product_pricelist,base.group_user,1,0,0,0
access_product_pricelist_version_user,product.pricelist.version.user,model_product_pricelist_version,base.group_user,1,0,0,0
access_product_pricelist_item_user,product.pricelist.item.user,model_product_pricelist_item,base.group_user,1,0,0,0