Not everyone is male or female, I would like to create an 'Other' category at least.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
2
Ответы
6415
Представления
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
2
июл. 16
|
5359 | ||
|
2
июл. 25
|
970 | ||
|
2
февр. 23
|
6720 | ||
|
0
мар. 21
|
2721 | ||
|
2
июн. 20
|
10242 |
Facebook recently gave people 51 options in addition to male and female. http://www.thedailybeast.com/articles/2014/02/15/the-complete-glossary-of-facebook-s-51-gender-options.html