[FIX] website: remove useless lang attr in configurator template
The attribute lang was set in the template website.website_configurator. This is not needed. This commit therefore remove this code. task-2602521 closes odoo/odoo#74931 X-original-commit: d65efdb9896664cba132a08fe85dad6baa348f3b Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -2425,9 +2425,6 @@ Sitemap: <t t-esc="url_root"/>sitemap.xml
|
||||
</template>
|
||||
|
||||
<template id="website_configurator" name="Website Configurator" inherit_id="web.frontend_layout" primary="True">
|
||||
<xpath expr="//html" position="attributes">
|
||||
<attribute name="lang"><t t-esc='lang'/></attribute>
|
||||
</xpath>
|
||||
<xpath expr="//head/t[@t-call-assets][last()]" position="after">
|
||||
<t t-call-assets="website.website_configurator_assets_js" lazy_load="True"/>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user