Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
27299 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

make a many2many field and use the tag widget

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks that worked like a charm.

How did you put the options?

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 25
216
0
thg 3 24
3611
1
thg 3 15
8754
0
thg 3 15
3766
2
thg 12 23
10325