From 2b1dc56efd4e98196c239a8e442784b146a0f441 Mon Sep 17 00:00:00 2001 From: Guillaume-gdi Date: Thu, 7 Dec 2023 10:46:31 +0100 Subject: [PATCH] [IMP] website: select logo colors after uploading logo This commit permits to automatically select the colors of the logo after uploading it. task-3609329 Part-of: odoo/odoo#145047 --- .../static/src/client_actions/configurator/configurator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website/static/src/client_actions/configurator/configurator.js b/addons/website/static/src/client_actions/configurator/configurator.js index 53d09849c97..55e939236d2 100644 --- a/addons/website/static/src/client_actions/configurator/configurator.js +++ b/addons/website/static/src/client_actions/configurator/configurator.js @@ -587,6 +587,7 @@ class Store { } else { this.recommendedPalette = undefined; } + this.selectedPalette = this.recommendedPalette; } updateRecommendedThemes(themes) {