summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorYounn Olivier <yol@odoo.com>2021-04-27 14:29:11 +0000
committerYounn Olivier <yol@odoo.com>2021-05-18 08:00:15 +0000
commit059804be90021559debee6f930462594a3ca8a97 (patch)
tree323f0a02f299e0d8cdfd8cf6ef0471aee89def89 /addons/web
parentbee8ac5ccf8106b25566332e769b73e8f707d05b (diff)
[FIX] web, website: display default company name on frontend layout
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) <jke@openerp.com>
Diffstat (limited to 'addons/web')
-rw-r--r--addons/web/views/webclient_templates.xml2
1 files changed, 1 insertions, 1 deletions
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 @@
<div class="row">
<div class="col-sm text-center text-sm-left text-muted">
<t t-call="web.debug_icon"/>
- <span class="o_footer_copyright_name mr-2">Copyright &amp;copy; Company name</span>
+ <span class="o_footer_copyright_name mr-2">Copyright &amp;copy; <span t-field="res_company.name" itemprop="name">Company name</span></span>
</div>
<div class="col-sm text-center text-sm-right">
<t t-call="web.brand_promotion"/>