[FIX] website: avoid making the page title separator translatable

This commit prevents the "|" between the additional title and the
website or company name from being turned into a translatable `span`.

closes odoo/odoo#101102

X-original-commit: 81c7c4cdf973b36e8ed787f8247da3a4bbf93117
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Benoit Socias
2022-09-26 13:41:45 +02:00
parent a87ac2ac36
commit 3500bd82e6
+1 -1
View File
@@ -64,7 +64,7 @@
<t t-if="not additional_title and main_object and 'name' in main_object">
<t t-set="additional_title" t-value="main_object.name"/>
</t>
<t t-set="default_title"> <t t-if="additional_title"><t t-out="additional_title"/> | </t><t t-out="(website or res_company).name"/> </t>
<t t-set="default_title" t-translation="off"> <t t-if="additional_title"><t t-out="additional_title"/> | </t><t t-out="(website or res_company).name"/> </t>
<t t-set="seo_object" t-value="seo_object or main_object"/>
<t t-if="seo_object and 'website_meta_title' in seo_object and seo_object.website_meta_title">
<t t-set="title" t-value="seo_object.website_meta_title"/>