报错代码块:
<template id="login" inherit_id="web.login" name="OAuth Login buttons">
<xpath expr="//form" position="before">
<t t-set="form_small" t-value="True" t-if="len(providers) > 2"/>
</xpath>
<xpath expr="//div[hasclass('o_login_auth')]" position="inside">
<t t-call="auth_oauth.providers"/>
</xpath>
</template>
从数据库ir_ui_view表找到name=‘OAuth Login buttons’
将列active改成Flase即可