[FIX] website: force web.layout inheriting later

Before this commit, if you installed website in community you was not able to
install web_enterprise, because the web.login_layout was replaced (by hinerit)
by website and break the xpath from enterprise login.

Now we apply the Enterprise login xpath before that website replace it.
This commit is contained in:
Jeremy Kersten
2019-01-29 10:46:09 +00:00
parent cbe0dd66af
commit 09be5b235c
+1 -1
View File
@@ -315,7 +315,7 @@
</record>
<!-- Features template -->
<template id="login_layout" inherit_id="web.login_layout" name="Website Login Layout">
<template id="login_layout" inherit_id="web.login_layout" name="Website Login Layout" priority="20">
<xpath expr="t" position="replace">
<t t-call="website.layout">
<div class="oe_website_login_container" t-raw="0"/>