Community mailing list archives

community@mail.odoo.com

Re: Password Field

by
Andre Kurniawan
- 05/30/2016 03:25:37
Hello Nhomar,

Its for simple PIN authentication so I don't really need it, but that is 
a very good example, thank you.

On 05/30/2016 02:12 PM, Nhomar Hernandez wrote:
>
> On Mon, May 30, 2016 at 2:08 AM, senthilnathan g <bornspy@gmail.com 
> <mailto: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.
> Site: http://vauxoo.com
> Twitter: @nhomar
> Blog: http://nhomar.com
> Github User: https://github.com/nhomar
> Odoo Gold Partner
> Skype: nhomar00 (Envia mail previo no lo superviso siempre).
> HangOut: nhomar@vauxoo.com <mailto:nhomar@vauxoo.com>
> Móvil Venezuela:
> +58 4144110269
> Móvil México:
> +52 1 4773933942
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>

-- 
Regards,
Andre