[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().
Loading
Please register or sign in to comment