Skip to content
Snippets Groups Projects
Commit ab9290e3 authored by jvm-odoo's avatar jvm-odoo Committed by Nicolas Martinelli
Browse files

[FIX] website_sale: removing invalid product from the cart


Reproduce the issue:
- Install eCommerce app
- Publish a product to your website
- Add the product in your cart
- Unpublish/make unsellable/archive the product

The product is still in the cart and the checkout process can be done.

Cause: There is no check for invalid products before displaying the cart

This commit remove the invalid products while loading the cart.

OPW-2092541

closes odoo/odoo#40168

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 2aea6e95
No related branches found
No related tags found
No related merge requests found
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