模块website
有这个模板:
<template id="footer_default" inherit_id="website.footer_custom" customize_show="True" name="Automatic Footer">
<xpath expr="//div[@id='footer']" position="replace">
...
</xpath>
</template>
他们正在设置customize_show
属性,我想在我的模块中将其覆盖为 false 以摆脱自定义菜单中的选项。
我尝试了这种方法和其他几种方法:
<template id="footer_default" inherit_id="website.footer_custom" customize_show="False" active="False" name="Automatic Footer">
</template>
但我想问题是我的问题是,my_module.footer_default
所以我无法以我猜的方式覆盖它。