[FIX] runbot_merge: disable homepage added enabled by website

Pages take over from redirections which really is a pain in the ass
when trying to find out why the bloody redirection seemingly refuses
to work.

Note: can't use the record tag because homepage_page is marked as
noupdate, so we have to bypass the flag checking.
This commit is contained in:
Xavier Morel 2020-01-23 12:17:20 +01:00
parent b1ce1e82e0
commit 5dccb141b7

View File

@ -1,4 +1,9 @@
<odoo>
<function model="website.page" name="write">
<value eval="ref('website.homepage_page')"/>
<value eval="{'active': False}"/>
</function>
<template id="assets_frontend" inherit_id="web.assets_frontend">
<xpath expr="link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/runbot_merge/static/scss/runbot_merge.scss"/>