Files
Andrew Chau d360b45737 [FIX] website_sale_comparison: Ensure product_data available
Check whether the product ID of the first item exists inside product_data
before trying to access it. Although it means the first item still does not
appear, both products will be present in the user's cookies.
When the user refreshes the page or navigates away, both products will be
visible in the comparison panel.

closes odoo/odoo#97152

X-original-commit: 5c6a92d0eb1e61cc2225a1b84ca1fb6c11365f2b
Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
2022-07-30 10:28:53 +02:00

271 B

Australia, 2022-01-15

I hereby agree to the terms of the Odoo Individual Contributor License Agreement v1.0.

I declare that I am authorized and able to make this agreement and sign this declaration.

Signed,

Andrew Chau ky@andrewchau.com https://github.com/AndrewChau