例子 - 去除登陆页面的Powered by Odoo链接
从上面的第3步,我们可以看到,最后登录界面是由'web.login' 模板来显示的,通过odoo的继承方式,我们很容易的就可以去除这个链接,通过查找,这个链接实际是出现在'web.login_layout' qweb视图中,
<template id='remove_login_odoo_link' inherit_id='web.login_layout'> <xpath expr='//div[@t-if="not disable_footer"]' position='replace'> <div class="text-right" t-if="not disable_footer"> <t t-if="not disable_database_manager"> <a class="" href="/web/database/manager">Manage Databases</a> </t> </div> </xpath> </template>