From d2fdecd7b36377c60283d51c535e14aa6b248233 Mon Sep 17 00:00:00 2001 From: Guillaume-gdi Date: Wed, 6 Dec 2023 14:46:06 +0100 Subject: [PATCH] [FIX] website: lower case industry name in configurator This commit converts the industry name in the configurator to lowercase it in order to optimize the IAP placeholder cache. task-3626875 closes odoo/odoo#145231 Signed-off-by: Romain Derie (rde) --- .../static/src/client_actions/configurator/configurator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/static/src/client_actions/configurator/configurator.js b/addons/website/static/src/client_actions/configurator/configurator.js index a7e58f90d20..3360347f75f 100644 --- a/addons/website/static/src/client_actions/configurator/configurator.js +++ b/addons/website/static/src/client_actions/configurator/configurator.js @@ -334,7 +334,7 @@ class ApplyConfiguratorScreen extends Component { const data = { 'selected_features': selectedFeatures, 'industry_id': this.state.selectedIndustry.id, - 'industry_name': this.state.selectedIndustry.label, + 'industry_name': this.state.selectedIndustry.label.toLowerCase(), 'selected_palette': selectedPalette, 'theme_name': themeName, 'website_purpose': WEBSITE_PURPOSES[