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

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 ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 24
3384
0
มี.ค. 15
3589
1
มี.ค. 15
8536
2
ธ.ค. 23
10092
3
ต.ค. 16
7032