Hi All
I Want To Create Two Objects With Relation (User , Gender ) And I Want The User Choose The Gender From Field Selection How Can I Do It Thanks
Hi All
I Want To Create Two Objects With Relation (User , Gender ) And I Want The User Choose The Gender From Field Selection How Can I Do It Thanks
You can do it with only a selection field for gender. You have to use many2one in case of you have the possibility of adding more genders, but since it's limited you can do a selection field:
'gender': fields.selection([('male', 'Male'),('female','Female')], 'Gender'),
and that's all
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
1
มี.ค. 15
|
6973 | |||
|
0
มี.ค. 15
|
5355 | |||
|
1
มี.ค. 15
|
10260 | |||
|
link a custom field to two tables/modul
แก้ไขแล้ว
|
1
มิ.ย. 19
|
9166 | ||
|
1
มี.ค. 15
|
9789 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.