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

Not everyone is male or female, I would like to create an 'Other' category at least.

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

go to the code and find the selection field and you can add there "Other" category

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

'gender : 'fields.selection([('male',Male),('female','Female'),('other','Other')],Gender)

set like that

อวตาร
ละทิ้ง

yes it's right way for selection field

Related Posts ตอบกลับ มุมมอง กิจกรรม
Create odoo users using custom module แก้ไขแล้ว
2
ก.ค. 16
5568
2
ก.ค. 25
1107
2
ก.พ. 23
7085
0
มี.ค. 21
2893
How to get the job_id of the user_id แก้ไขแล้ว
2
มิ.ย. 20
10374