-
- Downloads
[REV] website_sale: stop handling exclusions in /shop
Commit 91d0e9c6 made sure that excluded combination did not appear in /shop search results, but it significantly slowed down searches, even in databases without exclusions. Since the excluded combinations cannot be added to the cart (and the original feedback did not come from an effective ticket), we believe the gain is not worth the cost. This commit reverts that change. Task-3326948 closes odoo/odoo#125187 Signed-off-by:Antoine Vandevenne (anv) <anv@odoo.com>
Showing
- addons/website_sale/controllers/main.py 1 addition, 47 deletionsaddons/website_sale/controllers/main.py
- addons/website_sale/static/src/js/website_sale.js 7 additions, 46 deletionsaddons/website_sale/static/src/js/website_sale.js
- addons/website_sale/static/tests/tours/website_sale_shop_variant_exclusion.js 0 additions, 39 deletions...static/tests/tours/website_sale_shop_variant_exclusion.js
- addons/website_sale/tests/__init__.py 0 additions, 1 deletionaddons/website_sale/tests/__init__.py
- addons/website_sale/tests/test_website_sale_shop_variant_exclusion.py 0 additions, 93 deletions...te_sale/tests/test_website_sale_shop_variant_exclusion.py
Loading
Please register or sign in to comment