Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
27001 Weergaven

Hi,

I would like to add to the model res.partner a multiple selection field. How could I do this ?

The field type 'selection' authorizes only one option to be selected.

I would like to avoid to make a one2many relation, in order to propose only two 'static' options, so the users won't be able to create/delete any options.

Thanks for your help

Cheers

Avatar
Annuleer
Beste antwoord

make a many2many field and use the tag widget

Avatar
Annuleer
Auteur

Thanks that worked like a charm.

How did you put the options?

Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 24
3367
0
mrt. 15
3553
1
mrt. 15
8509
2
dec. 23
10056
3
okt. 16
7009