Contributors mailing list archives


Re: User's login vs. emails

Camptocamp France SAS, Alexandre Fayolle
- 28/01/2019 12:17:04
Currently what is being displayed with label "email" is the field called
"login". If you create a user with a login field which contains an "@"
character, Odoo will silently copy the value of the login field to the
related partner's email address. If not, then you get a user without an
email, and he can't do much as pretty soon the email address will be
required to interact with a mail.thread record. However, this is not
obvious as the partner related to the user is hidden unless you're in
debug mode.

As I mentionned, the auth_ldap module for instance, will synchronize
login and not emails and pretty soon you will run into this, and get
confused users who input their email in the login screen as requested,
but this won't work because the user authentication is performed agains
the login field.

What I'm proposing is a module that people don't have to install at all,
that will restore the possibility to create a user with a login and an
email, and change the label of the login screen and the res.user views.


On 28/01/2019 12:07, Nhomar Hernández wrote:

> I would say **dont**

> email is nicely used inside some nice features relate to that that

> simply depends on the fact that the login is the username.


> Do you have one case where it is really necessary? (( I can't see

> anything than say **Because I want**


> On Mon, Jan 28, 2019 at 4:52 AM Alexandre Fayolle

> <

> <>> wrote:


>     Dear all,


>     I often get request from my customers for de-merging the login and email

>     fields on res.users. I could not find a module in the OCA that would allow:


>     * getting back the display of the email and login fields on res.users as

>     separate fields

>     * change the login form to say "login" and not "email"


>     Did I miss the obvious? If not, do you think this could be a useful

>     module to have ? I'd target oca/server-auth for proposing something,

>     unless someone waves a hand and tells me "wait, I've had this for ages I

>     just need to propose it to the OCA..."



>     Thanks for your feedback


>     -- Alexandre Fayolle Chef de Projet Tel : +33 4 58 48 20 30

>     Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du

>     Lac Cedex


>     _______________________________________________

>     Mailing-List:

>     Post to:

>     <>

>     Unsubscribe:




> -- 


> --

> Nhomar Hernandez

> CEO Vauxoo.

> Site:

> Twitter: @nhomar

> Blog:

> Github User:

> Odoo Gold Partner

> Skype: nhomar00 (Envia mail previo no lo superviso siempre).

> HangOut: <>

> Móvil Venezuela:

> +58 4144110269 (Telegram)

> Móvil México:

> +52 1 4773933942 (Whatsapp)


> _______________________________________________

> Mailing-List:

> Post to:

> Unsubscribe:


Alexandre Fayolle
Chef de Projet
Tel : +33 4 58 48 20 30

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex