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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
5450
Lượt xem
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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 3 25
|
6314 | ||
|
1
thg 11 22
|
3272 | ||
|
3
thg 11 21
|
25931 | ||
|
1
thg 5 17
|
4551 | ||
Year only needed - how to implement?
Đã xử lý
|
|
2
thg 3 15
|
5277 |