Thu, 25 Jul 2013 09:19:04 -0700 (PDT)
Demoy Blake <[email protected]>:

>I want create a password field (a field that does not echo user input)
> to accept password from the client when needed.
> the input of this password field should not encrypted . 
>
>I tried to use a sha field for this, but I must have missunderstood
>the documentation because the field won't appear in my views.
>
>                      MPass=fields.Sha('MITS 
>password',required=True,help='')
Maybe use:

m_pass = fields.Char('MITS password', required=True)

... and in the view definition:

<label name="m_pass"/>
<field name="m_pass" widget="sha"/>

See also:
http://hg.tryton.org/modules/ldap_connection/file/6040fb853e3c/view/connection_form.xml#l14

Cheers Udo
-- 
_____________________________
virtual things
Preisler & Spallek GbR
München - Aachen

Windeckstr. 77
81375 München
Tel: +49 (89) 710 481 55
Fax: +49 (89) 710 481 56

[email protected]
http://www.virtual-things.biz

Reply via email to