Skip to content
Snippets Groups Projects
Commit cd6c8986 authored by rde's avatar rde Committed by Jeremy Kersten
Browse files

[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().
parent c400789d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment