summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorrde <rde@odoo.com>2017-10-09 13:27:11 +0200
committerJeremy Kersten <jke@odoo.com>2017-10-12 16:20:42 +0200
commitcd6c8986436ab5d0b23f861de75495d90ad7ac51 (patch)
treeaf21f7025208f2d4bb33091e1f585be8db8201d8 /addons/web/static/src/js/views/basic/basic_controller.js
parentc400789d6e303ac3835dab6863363d0984e01e95 (diff)
[FIX] website_sale_options: public user can't add item to cart
Before this commit, clicking on add to cart as a public user* would throw an error because it would access uom.name on which public user has no right. *From the product page (/shop/product/xxx) having an optional product, the access error is really on the optional product. Now, we allow user to read name with sudo().
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions