[FIX] website_sale: fix carousel indicators

Due to the recent bootstrap changes one attribute on the carousel
indicators was badly migrated which caused bootstrap's carousel code to
throw an error.
This commit fixes that issue.

TaskId-2833507

closes odoo/odoo#92447

Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
This commit is contained in:
William Braeckman
2022-07-14 16:41:52 +02:00
parent 54c6d36cfb
commit 7cb9805b2e
+1 -1
View File
@@ -2040,7 +2040,7 @@
<ol t-if="len(product_images) > 1" t-attf-class="carousel-indicators {{indicators_list_class}} position-static pt-2 pt-lg-0 mx-auto my-0 text-start">
<li t-foreach="product_images" t-as="product_image"
t-attf-class="align-top position-relative {{'active' if product_image_first else ''}}"
data-target="#o-carousel-product"
data-bs-target="#o-carousel-product"
t-att-data-bs-slide-to="str(product_image_index)">
<div t-field="product_image.image_128" t-options='{"widget": "image", "qweb_img_responsive": False, "class": "o_image_64_cover", "alt-field": "name"}'/>
<i t-if="product_image._name == 'product.image' and product_image.embed_code" class="fa fa-2x fa-play-circle o_product_video_thumb bg-black-50 text-center"/>