On 12/08/13 11:24 -0700, igomes wrote:
> 
> 
> I inserted a new tab on Party with a field of type *Selection*, and I would 
> like to populate it with the value "blank" that will be the default. So, 
> when I save the Party will not be required to fill this field.
> 
> What is the right way to do it?

You must define an empty value in the selection: (None, '')

> Because, when I try to save the Party and this field is required even if I 
> do 'required=False'. Tryton gives me this 
> message:<https://lh5.googleusercontent.com/-0dvFgQ17H2I/UgkoB0coMwI/AAAAAAAAAw4/-bcJ5rZZhZk/s1600/selection_field.png>
> 
> <https://lh5.googleusercontent.com/-0dvFgQ17H2I/UgkoB0coMwI/AAAAAAAAAw4/-bcJ5rZZhZk/s1600/selection_field.png>

Please don't send images on the ML, devs will not look at it.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpOebcj32RKZ.pgp
Description: PGP signature

Reply via email to