Hi guyz,
Firstly, when a date field is set, for ex:
'date': fields.date('Date'),
The years displayed are normally 2003 - 2023 as the current year is 2013 i.e. +/-10 years in the selection box for years.
But normally when we see any site for date of birth, they provide year range from 1970 -2013(i.e. present).
Is there any way to make the range bigger.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
1
Responder
5466
Visualizações
Choose 2003 and then range shift to 1993. And step by step you go to 1920. The same in other direction. Or just write it by hand.
there is no range before 2003, so how can i get 1920 selected. tell me how to customize the range.
I need customization of date field through code.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
1
mar. 25
|
6322 | ||
|
1
nov. 22
|
3276 | ||
|
3
nov. 21
|
25935 | ||
|
1
mai. 17
|
4559 | ||
Year only needed - how to implement?
Resolvido
|
|
2
mar. 15
|
5277 |