You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
720 B

<?xml version="1.0" encoding="UTF-8"?>
<!-- © 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<template id="signup_fields" inherit_id="auth_signup.fields">
<xpath expr="//div[@class='form-group field-password']"
position="attributes">
<attribute name="t-if">only_passwords</attribute>
</xpath>
<xpath expr="//div[@class='form-group field-confirm_password']"
position="attributes">
<attribute name="t-if">only_passwords</attribute>
</xpath>
<xpath expr="//input[@name='login']" position="attributes">
<attribute name="type">email</attribute>
</xpath>
</template>
</odoo>