From 059804be90021559debee6f930462594a3ca8a97 Mon Sep 17 00:00:00 2001 From: Younn Olivier Date: Tue, 27 Apr 2021 14:29:11 +0000 Subject: [FIX] web, website: display default company name on frontend layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before, the "Company name" placeholder was hardcoded in the frontend layout template, and the user had to change it with his company name from the website view, which was not user-friendly if the website module was not installed. Now, by default, the frontend layout template displays the user's company name. If the website module is installed, it is editable. task-2468472 closes odoo/odoo#69943 Signed-off-by: Jérémy Kersten (jke) --- addons/web/views/webclient_templates.xml | 2 +- addons/website/views/website_templates.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index c5c90d207f7..b0419b4993e 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -503,7 +503,7 @@
- Copyright © Company name + Copyright © Company name
diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 31ab7fcde2f..f34a1135fc7 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -172,6 +172,9 @@ + + Copyright © Company name +