Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
27314 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

make a many2many field and use the tag widget

อวตาร
ละทิ้ง
ผู้เขียน

Thanks that worked like a charm.

How did you put the options?

Related Posts ตอบกลับ มุมมอง กิจกรรม
Selection field or many2one field ? แก้ไขแล้ว
2
ก.ย. 25
234
0
มี.ค. 24
3628
1
มี.ค. 15
8775
0
มี.ค. 15
3779
2
ธ.ค. 23
10342