Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


How to change the "E-mail" label from Login Page to "Domain Login", for example?

John Doe
on 4/21/16, 11:07 AM 346 views

I'm experiencing Odoo v8 and I will login with Domain Username, not with email. So can you give me detailed information to how change just the label? The authentication is just fine, but with label "E-mail" may be kind of some misunderstanding to the other users.

I'm not a programmer, so a detailed information could be nice.

Thank you!


Prakash Sharma

--Prakash Sharma--
| 2 1 4
Delhi, India
--Prakash Sharma--

I like to surround myself with brave, creative people.

My motivation for learning different technologies and algos drive me. I love challenges of a steep learning curve which I believe makes me a better learner. I have a strong desire to learn different technologies, which would enable me to become a full stack developer.

Prakash Sharma
On 4/22/16, 12:42 AM

Go through these steps:

  1. Locate Menu User Interface/Views [Setting->Technical->User Interface->Views]

  2. Search Login

  3. Edit this template 

<?xml version="1.0"?> <t name="Login" t-name="web.login"> <t t-call="web.login_layout"> <form class="oe_login_form" role="form" t-attf-action="/web/login{{ '?debug' if debug else '' }}" method="post" onsubmit="this.action = this.action + location.hash"> <t t-call="web.database_select"/> <div class="form-group field-login"> <label for="login" class="control-label">Email/Domain</label>

<input type="text" name="login" t-att-value="login" id="login" class="form-control" required="required" autofocus="autofocus"/> </div> <div class="form-group field-password"> <label for="password" class="control-label">Password</label> <input type="password" name="password" id="password" class="form-control" required="required" t-att-autofocus="'autofocus' if login else None"/> </div> <p class="alert alert-danger" t-if="error"> <t t-esc="error"/> </p> <p class="alert alert-success" t-if="message"> <t t-esc="message"/> </p> <input type="hidden" name="redirect" t-att-value="redirect"/> <div class="clearfix oe_login_buttons"> <button type="submit" class="btn btn-primary">Log in</button> </div> </form> </t> </t>

John Doe
On 4/22/16, 9:17 AM

Thanks a lot Mr. Sharma, you solved my question.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 4/21/16, 11:07 AM
Seen: 346 times
Last updated: 4/22/16, 9:17 AM