Skip to content
Snippets Groups Projects
Commit ee0199ca authored by jvm-odoo's avatar jvm-odoo Committed by fw-bot
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#40241

X-original-commit: ab9290e3
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 67044d64
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