From c8c6e38f97fcf1bfb97785e4e2f2a3b1ae73de14 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 9 Jul 2021 13:34:26 +0000 Subject: [PATCH] [FIX] website: restore overlay for timeline cards edition With [1], not all overlays are displayed anymore but we rather show the parent one in some cases. The timeline cards were considered as one of those cases while it should not, as it prevents to use the overlay buttons allowing to switch the cards order. [1]: https://github.com/odoo/odoo/commit/9bbe5be3fb0d995374a369851df3641979d8e553 Discovered while working on task-2431484 closes odoo/odoo#73515 X-original-commit: 26708e168c717ae7e3a29c7705c80679b8e45f7d Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/snippets/s_timeline/options.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/website/static/src/snippets/s_timeline/options.js b/addons/website/static/src/snippets/s_timeline/options.js index 2ccff40cdba..33ea1748b02 100644 --- a/addons/website/static/src/snippets/s_timeline/options.js +++ b/addons/website/static/src/snippets/s_timeline/options.js @@ -4,6 +4,8 @@ odoo.define('website.s_timeline_options', function (require) { const options = require('web_editor.snippets.options'); options.registry.Timeline = options.Class.extend({ + displayOverlayOptions: true, + /** * @override */