Community mailing list archives

community@mail.odoo.com

Re: Password Field

by
Vauxoo S.A. de C.V., Nhomar Hernandez
- 05/30/2016 03:10:56

On Mon, May 30, 2016 at 2:08 AM, senthilnathan g <bornspy@gmail.com> wrote:
use password="True" in xml

AND, copy the behavior of the password field in res.user model.

https://github.com/odoo/odoo/blob/9.0/openerp/addons/base/res/res_users.py#L188

Note the new_password helper to set it, and the password to save it.

I hope it helps.


--
Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942