-
- Downloads
[FIX] website_sale: recently viewd multi company
If a user has a website.track with a product from another company than the one he is currently using, an access rule error will popup. Several scenarios can trigger this error, but the easiest one would be: - Activate recently viewed products in the e-commerce. - Create a product and publish it. - The portal user visits it and a website.track linked to that product is created. - From backend, change the company of the product to one that is unreachable for the portal user or the website environment he is in. - Now when the portal user visits another product, an error will show up warning about the unability to load the recently viewed product. So only products in the context of the request should be loaded as recently viewed. TT36698 closes odoo/odoo#93399 closes odoo/odoo#93467 X-original-commit: 0e54d3db Related: odoo/enterprise#28629 Signed-off-by:William Braeckman (wbr) <wbr@odoo.com> Signed-off-by:
William André (wan) <wan@odoo.com>
Loading
Please register or sign in to comment