From 3b3ab08c3ca497a9fa6e66c8145dd3bac3d156a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Mottet=20=28oms=29?= Date: Mon, 5 Jul 2021 12:47:57 +0000 Subject: [PATCH] [FIX] website: set id in xml for carousel rendered by configurator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Carousels (carousel and quotes_carousel snippets) in pages created by the configurator are not added through a drag'n'drop. onBuilt and _assignUniqueId are thefore not called. We set the unique id directly in the xml to make the carousel slides also work when these snippets are added by the configurator. task-2518565 closes odoo/odoo#73256 X-original-commit: 36387994d0a3038c87a754d4c27a6d34b30137e3 Signed-off-by: Jérémy Kersten (jke) --- addons/website/views/snippets/s_carousel.xml | 13 +++++++------ addons/website/views/snippets/s_quotes_carousel.xml | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/addons/website/views/snippets/s_carousel.xml b/addons/website/views/snippets/s_carousel.xml index d5ceb6bdb6c..cc30313c4c8 100644 --- a/addons/website/views/snippets/s_carousel.xml +++ b/addons/website/views/snippets/s_carousel.xml @@ -3,12 +3,13 @@