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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
1
maalisk. 15
|
6140 | |||
|
0
maalisk. 15
|
4347 | |||
|
1
maalisk. 15
|
9300 | |||
|
link a custom field to two tables/modul
Ratkaistu
|
1
kesäk. 19
|
7871 | ||
|
1
maalisk. 15
|
8872 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.